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 fauna schema diff --active #367

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Add fauna schema diff --active #367

merged 2 commits into from
Oct 8, 2024

Conversation

macmv
Copy link
Contributor

@macmv macmv commented Sep 26, 2024

Ticket(s): ENG-6796

Currently, fauna schema diff diffs against the active schema, which isn't what I'd expect it to do. This changes the default to diff against the staged schema, adds a flag to toggle the behavior, and shows which schemas are being compared in the command output.

src/commands/schema/diff.ts Outdated Show resolved Hide resolved
@macmv macmv merged commit e1e7004 into main Oct 8, 2024
1 check passed
@macmv macmv deleted the add-diff-active branch October 8, 2024 22:18
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