Skip to content

Unable to insert nested object in UI with duplicate property names #458

@FinnRG

Description

@FinnRG

I have two types called Song and ArtistForSong. Both of these objects have a property called name. When I try to insert ArtistForSong objects during an insertion of a Song the gel UI fails to commit the changes and throws the following error:

SchemaError: cannot create union (default::ArtistForSong | default::Song) with property 'name' it is illegal to create a type union that causes a computed property 'name' to mix with other versions of the same property 'name'
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions