-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure model name is used in namespace for model as suggested above #11732
Comments
After discussing with team, we are attempting to solve this with global usings to avoid a breaking change here. |
@nkylstad It's implemented in the way that the new namespace is used for new models, and the "old" namespace is maintained if the datamodel is already added in the app to avoid introducing the braking change. This should be well-tested before publishing to production. |
@mirkoSekulic So model namespace (for new models) is now postfixed with the model name? |
@nkylstad yes, new namespace is postfixed with model name. |
True 🤔 And if they add a new model and want to be able to access multiple models, that should still work as well, as long as they include the namespace for the new model, right? |
@nkylstad correct. |
Tested the following in dev:
One thing I did notice was that uploading a model that has the same base class name as an existing model resulted in both models getting the same namespace, which is exactly what we are trying to avoid. Tried:
Both resulted in the same namespace and the same root class, which will probably cause an issue when running the app 🤔 |
Description
We need to ensure that we implement this change without affecting our users too much.
See parent task for more details.
Alternatives
The text was updated successfully, but these errors were encountered: