Skip to content

json-modern enhancement requests #1909

@designatednerd

Description

@designatednerd

Related to changes added to implement #1814, the json-modern has a few minor bugs and pain points not related to the actual generation of type information I'd like to see addressed:

  • outputFileURL being passed as an option no longer causes operationID to get generated.
  • Probably related since it's what's used to generate operationID, the sourceWithFragments property present in previous JSON integrations is no longer there. This provided the source with full content of the fragments appended.
  • It looks like mergeInFieldsFromFragmentSpreads is not being respected - output is identical if I pass true or false for this.
  • The selectionSet's selections are using a lot of overlapping properties - if something's a field it has a bunch of properties, if it's a Fragment Spread it has other properties, if it's a conditional it has even different properties. In previous versions these were totally different types. How horrendous would it be to go back to using different types, or is this something I should try to do on the parsing side instead

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