Skip to content
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

Open
steverash opened this issue May 15, 2015 · 1 comment
Open

Problem with collections of complex types #97

steverash opened this issue May 15, 2015 · 1 comment

Comments

@steverash
Copy link

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

@axar
Copy link

axar commented Oct 2, 2015

any fix for this? I'm still having this issue.

tschettler added a commit to tschettler/breeze.js that referenced this issue Nov 6, 2019
tschettler added a commit to tschettler/breeze.js that referenced this issue Nov 14, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants