-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding order_properties_before to schema #553
Conversation
At least, you should add brief doc to |
yes ill update the doc and add some UT. |
@skizhak please do not commit util/bindata.go which is a generated file |
248ee0f
to
d0fbe29
Compare
.gitignore
Outdated
@@ -45,3 +45,5 @@ node_modules | |||
.idea | |||
etc/gohan.log | |||
etc/gohan.db | |||
|
|||
util/bindata.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i got it. thanks for the pointers. but i think this particular commit will require the bindata change to use the new schema field. i will remove the .gitignore but i think i should be committing bindata so people doing 'go get ' install can use this. is that correct?
e63834a
to
a674cba
Compare
@skizhak You're right - in this particular case, bindata must be regenerated and it is correctly added to commit. Approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
@przemyslaw-dobrowolski-cl thanks. @morrisson @nati gentle reminder on this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, but you can squash two commits into one because those commits are created for the same purpose.
- This is to support ordering Properties along with the extended schema properties. properties of schema listed under Extends will be displayed before current properties if they're not listed under order_properties_before - adding updated bindata from make gen
dd3bde8
to
69c1221
Compare
properties of extends (not listed in order_properties_before)
current properties
properties of rest of extends model