First time using poem... hit a weird issue with Query... #1114
haydonryan
started this conversation in
General
Replies: 1 comment
-
|
i've had this similar experience when i first started using poem, though i quickly know what went wrong the second time i got it. The only way i think this can be avoided is to name it differently, i.e, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was putting together some code from youtube videos, searching the web ,and looking at the sample code.
I ran into an issue where this compiles and runs, but gives a runtime error response:
Can you spot what I did wrong? I used
use poem::web::Query;instead ofuse poem_openapi::param::QueryI didn't put this as an issue, but wondering if there's something we can do to cause this to be a compiler error instead of a cryptic runtime error?
It may be just a learning experience for me, but wanted to see if this should be made an issue or not.
Beta Was this translation helpful? Give feedback.
All reactions