graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

Alphabetical ordering of properties in exported yaml files not working

Open OriginalEXE opened this issue 3 years ago • 0 comments

Version Information

Server Version: CLI Version (for CLI related issue): 2.9.0 (tried 2.8.0 as well)

Environment

Cloud

What is the current behaviour?

Running hasura console and changing permission on the table regenerates a yaml file with object properties sorted randomly

What is the expected behaviour?

Object properties should be sorted alphabetically as per the changelog

How to reproduce the issue?

  1. Run the console
  2. Change permissions on any of the tables to regenerate yaml file(s)
  3. Regenerated files have properties in a "random", non-alphabetical order

Screenshots or Screencast

This is just a simple example, but I would expect name to come first here

image

If the bug is confirmed, would you be willing to submit a PR?

Yes

Keywords

cli order, alphabetically

OriginalEXE avatar Aug 04 '22 16:08 OriginalEXE