-
Notifications
You must be signed in to change notification settings - Fork 54
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
Schema View: 2 views with the same interface override each other #2182
Comments
Nice catch Islam! Will look into this one shortly, I'm also worried that adding an interface with a name of an existing collection might result in similar issues as it looks like the schema is not checking for existing schema of that name before writing to store. |
This is strange, it might be there is a weakness in the descriptions-gql code that permits an in-memory corruption of state. Might be worth looking into how this works later. It might not just affect new Views, but also new collection/schema. |
This is a separate issue, unrelated to the overwriting problem. I've opened up #2184 |
closed by #2185 2185 |
…ork#2185) ## Relevant issue(s) Resolves sourcenetwork#2184 sourcenetwork#2182 ## Description Retain embedded schema within gql types on reload and further GQL modification. Also refactors the code a little to make it harder to re-introduce (calling `loadSchema` instead of sometimes relying on function vars).
…ork#2185) ## Relevant issue(s) Resolves sourcenetwork#2184 sourcenetwork#2182 ## Description Retain embedded schema within gql types on reload and further GQL modification. Also refactors the code a little to make it harder to re-introduce (calling `loadSchema` instead of sometimes relying on function vars).
When creating 2 view that have interfaces with the same name, then one overrides another and the overridden one is not available in the first view anymore.
This issue in this example is minor in my opinion but it seems like there might be more severe implications.
EDIT: After this creation of other views is broken:
The text was updated successfully, but these errors were encountered: