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

feat: move validation into its separate package #2831

Merged
merged 22 commits into from
Apr 1, 2024
Merged

Conversation

yquansah
Copy link
Contributor

@yquansah yquansah commented Mar 8, 2024

Move validation into a separate package, so we can leverage the functionality outside of Flipt via a go module.

@yquansah yquansah requested a review from a team as a code owner March 8, 2024 20:36
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@yquansah yquansah force-pushed the validation-package branch from 86fc64e to dbb053f Compare March 9, 2024 18:46
validation/validate.go Fixed Show fixed Hide fixed
Copy link
Member

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we make the jump, I wonder if its worth us picking a name which is a little bit more generic, as I forsee us publishing a few more things into public module space. For example, I think the yaml format itself, parsing of it and potentially building snapshots.
Maybe we make this a module called core? With a validation package in it?

@markphelps markphelps requested a review from GeorgeMac March 21, 2024 13:40
…into validation-package

* 'validation-package' of https://github.com/flipt-io/flipt:
  chore(deps): bump github.com/docker/docker in /build (#2879)
core/validation/validate.go Dismissed Show dismissed Hide dismissed
Copy link
Member

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it so!

@markphelps markphelps added the automerge Used by Kodiak bot to automerge PRs label Apr 1, 2024
@kodiakhq kodiakhq bot merged commit 84a06e3 into main Apr 1, 2024
28 checks passed
@kodiakhq kodiakhq bot deleted the validation-package branch April 1, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Used by Kodiak bot to automerge PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants