Skip to content

Improve the Schema Generation with Ordering the Types #6441

@ThisaruGuruge

Description

@ThisaruGuruge

Description:

The Ballerina GraphQL tool generates the schema from the Ballerina service. This generated schema file is not ordered properly. Ideally, we should order the types so the schema looks nice.

It should be something like this:

type Query {
    # ...
}

type Mutation {
    # ...
}

type Subscription {
    # ...
}

interface I {
    # ...
}

type Foo {
    # ...
}

input Bar {
    # ...
}

enum E {
    # ...
}

union #...

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions