Skip to content

Generated typings do not name refrences correctly #8

@olafurns7

Description

@olafurns7

Content stack appends Connection after all field names that are references, and also adds subfields in GraphQL.

example:

Content type field:

Reference to ContentBelt type

GraphQL request response:

"content_beltsConnection": { "edges": [ { "node": { "title": "Collapsibles test", "system": { "uid": "blt847f4e37080902a8" } } },] }

however the tsgen result of that is just the field name, with an array of the content type:

navigation_menu: ContentBelt[]

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