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

validation/validate.go Fixed Show fixed Hide fixed
Copy link
Contributor

@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?

…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
Contributor

@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.

None yet

4 participants