Replies: 1 comment 3 replies
-
Interesting it sounds like a bug ? Weird that it's saying can't assign Null to string but it's not NULL it's a String. Open to a fix if you want to investigate further. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an endpoint written in
python
usingfastapi
which exposes a standard OAuth token endpoint, which uses a OAuth2 Password Form model, expected to be passed in as form data.See fastapi example for context.
I have used the same setup with frameworks like
remix
and not encountered any issues, however we are moving to NextJS14 and When I use orval to generate the client to consume the token endpointeslint
complains with the following:adding a check for those values to be
!==null
makeseslint
happy:I was wonder if this should be something
orval
generates? I can get around it by asking eslint to ignore the file, it would be nice to get someone else's thoughts on this.Thank you for time.
Node version: v21.1.0
OS: macOS 14
Framework: NextJS 14.0.1
orval: 6.19.1
Beta Was this translation helpful? Give feedback.
All reactions