You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I have a question regarding handling of header params. I see that with this change, the type conversion has been removed from ParameterValidator. I understand that apparently this code was sometimes executed redundantly and has therefore been moved to a single place in the URIParser. However, to me it looks like that by doing that, header params are no longer being type-converted.
I'm currently migrating a project from Connexion 2 to Connexion 3, and a API call that used to work in v2 now fails with "'False' is not of type 'boolean'", and digging into the code, I found the change mentioned above. Am I missing something? If not, can you suggest the cleanest way to restore the behaviour for type conversion of header params when migrating to v3?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I have a question regarding handling of header params. I see that with this change, the type conversion has been removed from ParameterValidator. I understand that apparently this code was sometimes executed redundantly and has therefore been moved to a single place in the URIParser. However, to me it looks like that by doing that, header params are no longer being type-converted.
I'm currently migrating a project from Connexion 2 to Connexion 3, and a API call that used to work in v2 now fails with "'False' is not of type 'boolean'", and digging into the code, I found the change mentioned above. Am I missing something? If not, can you suggest the cleanest way to restore the behaviour for type conversion of header params when migrating to v3?
Thanks a lot in advance!
Beta Was this translation helpful? Give feedback.
All reactions