-
Notifications
You must be signed in to change notification settings - Fork 35
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
build error when I use ArrayOf in payload and Gorma #116
Comments
It looks like the definition is off for containers, instead of:
It should be:
Does the error still occur if you make that change? |
Thanks for your response Raphael. Yes we did change it to that and got this error
|
OK this may be a current limitation of gorma, @bketelsen should chime in. |
can you share your design in a gist or github link? I'd like to replicate this. @MohamedFAhmed |
I received the following error, could be related:
I seem to have resolved it by making sure the "name" of my Types were not the same as the "name" of my Resources. I can put my design files somewhere if you would like. |
I use the Any Type in payload ,has Error too ,error:Unsupported type: 0x7 any in unnamed BuildSource |
I'm getting |
We're expecting in one of our payloads and object that has basic attributes and array of objects in it. . However, I get these errors when we use gorma.
**models/clc.go:178: cannot use payload.Containers (type string) as type []Container in assignment
models/clc.go:203: cannot use payload.Containers (type string) as type []Container in assignment
This is how the payload is defined
This is the definition of our data model
The text was updated successfully, but these errors were encountered: