feat: Implement feature flag creation#43
Merged
inourbubble2 merged 9 commits intomainfrom Feb 24, 2025
Merged
Conversation
- Replaced `defaultConditionId` with a `@OneToOne` relationship to `Condition` - Add a `description` field for additional metadata
6 tasks
eunhwa99
reviewed
Feb 17, 2025
backend/src/main/kotlin/com/lightswitch/infrastructure/database/entity/FeatureFlag.kt
Outdated
Show resolved
Hide resolved
eunhwa99
reviewed
Feb 20, 2025
| val status: Boolean, | ||
| @field:NotBlank(message = "Type is required.") | ||
| @field:Pattern(regexp = "^(number|boolean|string)$", message = "Type must be one of: number, boolean, string") | ||
| @field:Pattern(regexp = "(?i)^(number|boolean|string)$", message = "Type must be one of: number, boolean, string") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spring-security-testdependencyIllegalArgumentExceptionon failureI haven't run ktlint yet since there are many ongoing PRs in backend to avoid conflict with #39. It would be better to run ktlint all at once after this PR and #39 are merged.
Example response of the API: