Comments (7)
Thanks for your response Raphael.
Yes we did change it to that and got this error
([design/models.go:61] Unsupported type: 0x8 array in unnamed BuildSource
from gorma.
It looks like the definition is off for containers, instead of:
Attribute("containers", func(){
ArrayOf(ContainerPayload)
})
It should be:
Attribute("containers", ArrayOf(ContainerPayload))
Does the error still occur if you make that change?
from gorma.
OK this may be a current limitation of gorma, @bketelsen should chime in.
from gorma.
can you share your design in a gist or github link? I'd like to replicate this. @MohamedFAhmed
from gorma.
I received the following error, could be related:
[../design/storage.go:35] Unsupported type: 0x6 string in unnamed BuildSource
[../design/storage.go:35] Unsupported type: 0x8 array in unnamed BuildSource
[../design/storage.go:55] Unsupported type: 0x6 string in unnamed BuildSource
[../design/storage.go:76] Unsupported type: 0x8 array in unnamed BuildSource
[../design/storage.go:13] Unsupported type: 0x6 string in unnamed BuildSource
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.
from gorma.
I use the Any Type in payload ,has Error too ,error:Unsupported type: 0x7 any in unnamed BuildSource
delete this,all ok
from gorma.
I'm getting Unsupported type: 0x8 array in unnamed BuildSource
like @MohamedFAhmed and can share the gist if you like, @bketelsen.
You could reproduce the error by defining something simple like Attribute("identifiersArray", ArrayOf(String)
.
from gorma.
Related Issues (20)
- Specifying the sql schemas of my models
- boolean types not updated to false HOT 3
- Support of UUID for model attributes is not functional
- json field?
- Incorrect column name is set by Field method HOT 13
- POLL: Drop support for Go 1.6 HOT 1
- new storage HOT 3
- confusing docs for `BuildsFrom` HOT 1
- Codegen error when `ArrayOf(MT)` is used in a MT attribute
- HasOne fails to Preload in the helper.go file
- Panic when BuildsFrom does not find an action with the Payload correctly set HOT 2
- Primary key questions
- Unsupported type: 0x8 array in unnamed BuildSource HOT 2
- MySQL Date field
- type **time.Time has no field or method
- The use of BelongsTo
- "Filter By" using Field Alias
- Will gorma be updated for goa v2 ? HOT 1
- maybe use S3 HOT 1
- Gorma support for goa v3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gorma.