Skip to content
This repository was archived by the owner on Jan 27, 2021. It is now read-only.
This repository was archived by the owner on Jan 27, 2021. It is now read-only.

Can not name relationship field "Type" #232

@kenzik

Description

@kenzik

Logging this quickly, and will produce a smaller use-case/demo when I get a chance (hopefully this is the right repo for it).

It seems that if I create a relationship field and use the name "Type", the generator dies when rendering that particular template:

Fatal error: Cannot set property _type of # which has only a getter

Renaming that field to anything else that the CMS thinks is valid will work.

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