-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(dynamite): Fix nullable someOf parameters #1272
Conversation
packages/dynamite/dynamite_end_to_end_test/test/parameters_test.dart
Outdated
Show resolved
Hide resolved
465d040
to
d819c88
Compare
packages/dynamite/dynamite_end_to_end_test/test/parameters_test.dart
Outdated
Show resolved
Hide resolved
I think that it's probably easier to just call serialize (and not encode) on the typeresult and let the uri template handle the rest #1097. |
That sounds good yeah |
yet another problem related to parameter serialization: pattern checking does not work on string values. I would argue it is useless because it is an enum already, but it is a valid spec and also happens to appear in Talk. |
Pattern checking requires a bigger makeover. |
I commented on the issue, but I feel like the problem is just the parameter serialization. The value needs to be serialized before checking the pattern (would be at least one way to fix it). |
4bd2cb8
to
94262b5
Compare
Still based on #1292 |
Signed-off-by: jld3103 <[email protected]> Signed-off-by: Nikolas Rimikis <[email protected]>
94262b5
to
0afd4db
Compare
#1256