-
Notifications
You must be signed in to change notification settings - Fork 117
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
"field type *query.Filtering is not supported in query parameters" #180
Comments
Per https://github.com/infobloxopen/atlas-app-toolkit/tree/master/query#filtering the syntax in the query string needs to be |
I did try |
I also found that if I change my proto message to
Then I get the same error when trying with The error originates from https://github.com/infobloxopen/grpc-gateway/blob/master/runtime/query.go#L329 Any help on this would be very much appreciated. Thank you |
Hmmm. Based on what you've said so far:
I'm not seeing any clear errors. Can you enable DB logging
and perhaps insert a logging statement somewhere to see if the Filter object is being set when you include the |
Hey sorry for late reply. dblog does not print anything so I guess the issue is before any query is made.
then later
my guess is it's something to do with |
HI, I receive this error when calling my api and trying to filter
for example
http://localhost:7778/api/clients?filter=key==123
I am trying to use protoc-gen-gorm to generate my services
I have setup in my proto file a message as such
I am using the patched version of gen swagger.
I also have in my server setup for my rest server
and for the grpc server
Am I missing something?
Thank you
The text was updated successfully, but these errors were encountered: