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

PER-9883 [back-end] Delete feature flag endpoint #140

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

Conversation

iulianvsp
Copy link
Contributor

New endpoint to delete a feature-flag

Unit and functional tests are covering all scenarios

Copy link
Member

@liam-lloyd liam-lloyd left a comment

Choose a reason for hiding this comment

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

Could you add documentation for this endpoint to the OpenAPI specification?

WHERE
id = :featureFlagId
RETURNING
id AS "featureFlagId";
Copy link
Member

Choose a reason for hiding this comment

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

The linter is complaining about the whitespace at the end of this file.

@@ -17,3 +17,16 @@ export function validateCreateFeatureFlagRequest(
throw validation.error;
}
}

export function validateDeleteFeatureFlagParams(
Copy link
Member

Choose a reason for hiding this comment

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

This is essentially the same as the param validator for update; perhaps they should be one function?

New endpoint to delete a feature-flag

Unit and functional tests are covering all scenarios
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