"compatible types" are not reflected as such in the API #2394
Unanswered
user1095108
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I assume you do not use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The only (perhaps not 100%) way to prevent exception 302 when assigning between json values is this very ineffective way:
Why not create a function are_compatible(a, b), or a member function is_compatible(a) with a bool result. In general, I'd like to see ways to avoid the exception 302 and compatible types seem to be key, but there is no way to discern whether 2 values are of compatible type.
Beta Was this translation helpful? Give feedback.
All reactions