-
Notifications
You must be signed in to change notification settings - Fork 5
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
Handling "either or" field arguments in application schema GraphQL query #227
Comments
As far as I know the tasks currently panic if they detect invalid task arguments. I've tried to find an either/or way to do types in Rust but couldn't find anything native, do you have an idea? |
Oh, this is just about field arguments in the GraphQL api. Wouldn't an enum work for tasks though? |
Oh lol, sorry, I've updated the issue title 👍
Yeah, good point! I'm sure I've tried something and it didn't work out because of something else .. but worth another shot! |
https://youtu.be/1PSVZGfhjWk?t=2035 ............ ??????? |
From last meeting: We decided that it should be fine if they are both set, the node will go for the viewId then |
According to our specification, the
id
andviewId
field arguments are strictly "either or" and an error should be returned if both are given. Aquadoggo currently ignores the document id in this case.We should either adapt the aquadoggo implementation or change the spec.
The text was updated successfully, but these errors were encountered: