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
This seems to have the side effect that the class name is no longer inferred from the URL but is now derived from the schema. This causes some type collisions (e.g in delta functions) as the type name now changes from Delta to the actual type name (e.g Messages,MailFolder) to cause ambiguity in request builders to cause compilation failures.
This is replicated when using the full open Api description.
Original
After
We can enforce lookup for types in all namespaces before calling this function. We might need to move some files to the default models folder.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this @andrueastman !
I noticed that while working on #1174 but I wasn't sure whether the behaviour was caused by previous changes or current ones.
The reason why I added the schema in the evaluation was to get the proper name for the error classes that was sometimes missing.
If you don't mind having a look at it, it'd be greatly appreciated!
At the moment I can work around this by passing checkInAllNamespaces: true to the function here but that has the side effect of have crossing references across other namespaces.
yep, this should stay as it is, otherwise we'll start having race conditions that'll reference the wrong types in different namespace depending on the order of execution.
I think the right way to address this issue would be to pass the schema ONLY when we need it to get a more precise class name, or something along those lines.
I think the right way to address this issue would be to pass the schema ONLY when we need it to get a more precise class name, or something along those lines.
#1100 involved the refactoring of this function
This seems to have the side effect that the class name is no longer inferred from the URL but is now derived from the schema. This causes some type collisions (e.g in delta functions) as the type name now changes from Delta to the actual type name (e.g Messages,MailFolder) to cause ambiguity in request builders to cause compilation failures.
This is replicated when using the full open Api description.
Original
After
We can enforce lookup for types in all namespaces before calling this function. We might need to move some files to the default models folder.
The text was updated successfully, but these errors were encountered: