Giter Site home page Giter Site logo

Comments (7)

MohamedFAhmed avatar MohamedFAhmed commented on June 12, 2024 1

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.

raphael avatar raphael commented on June 12, 2024

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.

raphael avatar raphael commented on June 12, 2024

OK this may be a current limitation of gorma, @bketelsen should chime in.

from gorma.

bketelsen avatar bketelsen commented on June 12, 2024

can you share your design in a gist or github link? I'd like to replicate this. @MohamedFAhmed

from gorma.

schmorrison avatar schmorrison commented on June 12, 2024

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.

agui2200 avatar agui2200 commented on June 12, 2024

I use the Any Type in payload ,has Error too ,error:Unsupported type: 0x7 any in unnamed BuildSource
delete this,all ok

from gorma.

robsliwi avatar robsliwi commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.