How do I preserve the field order of my schema in the database? #6677
Unanswered
iron3oxide
asked this question in
Q&A
Replies: 2 comments 2 replies
-
A somewhat working hack I found:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
I would also like to preserve the order of fields. I'm mainly working with the UI at the moment. Have you seen anything regarding this in the past year? Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am facing the following problem:
My schema includes some types that have fields that are somewhat related to each other, e.g.
first_name
andlast_name
. I therefore keep them right next to each other in the schema. In the database however (as seen in the UI data explorer), they are all over the place.This alone would not bug me that much as I don't plan on using the UI for anything important, but the same discombobulated order is being used when I use the python codegen feature to generate query result models I plan on using as API responses. Is there a way to fix this? Possibly related to #3792
Beta Was this translation helpful? Give feedback.
All reactions