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

Add option for consistently sorting generated output #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marshall007
Copy link

@marshall007 marshall007 commented Jan 25, 2019

This PR includes three major changes:

  1. custom types (including enums) are now exported under the customTypes namespace, which avoids circular references in cases where a column name matches the enum name
  2. adds a --order CLI option which, when enabled, sorts all exports and enum values to ensure more consistent output between runs (easier diffs)
  3. adds assertEqualCode test utility method to ignore whitespace when comparing code snippets and refactors tests accordingly

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.

None yet

1 participant