-
Notifications
You must be signed in to change notification settings - Fork 88
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
Problem with collections of complex types #97
Comments
any fix for this? I'm still having this issue. |
tschettler
added a commit
to tschettler/breeze-client
that referenced
this issue
Nov 15, 2020
tschettler
added a commit
to tschettler/breeze-client
that referenced
this issue
Nov 15, 2020
steveschmitt
added a commit
to Breeze/breeze-client
that referenced
this issue
Apr 22, 2021
Fix parsing for Collections. Fixes issue Breeze/breeze.js#97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've found a problem when dealing with a collection of complex types.
Breeze fails with "Cannot read property '_createInstanceCore' of null".
I've debugged and it comes down to the dataType being null. This I've traced to being because in the parseTypeName function it assumes that that last part of the type name (when split by ".") is the shortname.
However for a Collection, it ends up with the final ")" on.
e.g. "Collection(TestNamespace.TestClass)" will return "TestClass)".
I'm not sure how to fix... removing the ) makes the property a single instance of TestClass as instead of a collection.
Thanks,
Steve
The text was updated successfully, but these errors were encountered: