directus_api_manager
directus_api_manager copied to clipboard
Suggestion: add dependency to dev_dep
It would be cleaner to avoid wrapping the sdk.
Furthermore, an idea would be to call final collections = sdk.collections; to get the collections in the instance. This would allow the package to generate the collection files without requiring user input!
I am not sure what you are talking about. What is dev_dep ?
Adding the package as a dependency like so
dev_dependencies: directus_api_manager: version
This would allow build watcher to watch for change, ie when a collection changes, it would update the class signature and regenerate the code for models.