Skip to content
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

Failure when adding a second schema set #489

Closed
jsimnz opened this issue May 31, 2022 · 6 comments · Fixed by #635
Closed

Failure when adding a second schema set #489

jsimnz opened this issue May 31, 2022 · 6 comments · Fixed by #635
Assignees
Labels
area/schema Related to the schema system bug Something isn't working priority/high
Milestone

Comments

@jsimnz
Copy link
Member

jsimnz commented May 31, 2022

Scenario:
run defradb client schema add -f example/user.graphql
then tun defradb client schema add -f example/booksauthpub.graphql

Errors with the message:

{
    "errors": ["Schema must contain unique named types but contains multiple types named 'authorNumericAggregateBaseArg'."],
    "data": null
}

My suspicion is that its running the entire generate schema routine for all the typed defined, instead of running only for the new types.

@jsimnz jsimnz added bug Something isn't working priority/high labels May 31, 2022
@jsimnz jsimnz added this to the DefraDB v0.3 milestone May 31, 2022
@jsimnz jsimnz added the area/schema Related to the schema system label May 31, 2022
@AndrewSisley
Copy link
Contributor

Blocked by #594

@jsimnz
Copy link
Member Author

jsimnz commented Jul 8, 2022

@AndrewSisley working towards getting #594 merged.

But, how is this blocked by it?

@AndrewSisley
Copy link
Contributor

code is modified and moved around in the PR, is a waste of time to do both concurrently, and then again when fixing conflicts etc

@AndrewSisley
Copy link
Contributor

no longer blocked

@AndrewSisley
Copy link
Contributor

blocked by #625

@jsimnz
Copy link
Member Author

jsimnz commented Jul 12, 2022

"Failing to append runtime schema -> field type must be Input Type but got: " suspect error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema Related to the schema system bug Something isn't working priority/high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants