Skip to content

Feature Request/Feedback: JSON form vs a JSON editor #160

@JJediny

Description

@JJediny

I know the project is still under active development.

After getting the docker-compose setup of the project running, I tried adding a new data source:

  • Each source has a set JSON schema for it's handler config based on graphql-mesh. I was expecting to use yaml, but it looks like it only accepts a JSON input based purely off the schema. Is that correct?
  • Are there plans to provide:
    ** 1. An default JSON object to edit from (right now its blank) or autogenerated from the schema directly to pre-populate the editor with at least the required fields.
    ** 2. Switch using a JSON editor to a JSON schema generated form (that supports ajv also) - like https://github.com/rjsf-team/react-jsonschema-form

All just suggestions, so feel free to close the issue

for reference only
https://github.com/Urigo/graphql-mesh/blob/master/packages/types/src/config-schema.json
https://github.com/JJediny/json2yaml-editor/blob/gh-pages/ref/graphql-mesh-meshrc.json
http://jjediny.github.io/json2yaml-editor/

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions