Skip to content
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

Sort columns #41

Merged
merged 1 commit into from
Jul 14, 2023
Merged

Sort columns #41

merged 1 commit into from
Jul 14, 2023

Conversation

aslakhellesoy
Copy link
Contributor

This is a fix for #40.

@aslakhellesoy
Copy link
Contributor Author

I just realised that constraints need to be sorted as well. So I'm wondering if it would be better to move all the sorting logic (tables, columns, constraints) to diagram.go instead. If you agree with this approach I can update this PR.

@aslakhellesoy
Copy link
Contributor Author

Hi @KarnerTh - any thoughts or feedback about this?

@KarnerTh
Copy link
Owner

Hi @aslakhellesoy!
Thank you very much for the PR 🙌🏼

I will happily merge back your changes. I would keep the sorting logic in the analyser, because the diagram.go has the only responsibility to create the diagram and in my opinion sorting is part of the analysing process.

@KarnerTh KarnerTh merged commit 6c3b2df into KarnerTh:master Jul 14, 2023
@aslakhellesoy
Copy link
Contributor Author

Thanks for merging this @KarnerTh! 🤝

@aslakhellesoy aslakhellesoy mentioned this pull request Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants