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: Delete dependency api #4824

Merged
merged 6 commits into from
Sep 25, 2023
Merged

feat: Delete dependency api #4824

merged 6 commits into from
Sep 25, 2023

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Sep 25, 2023

About the changes

API for deleting feature dependency

Important files

Discussion points

@vercel
Copy link

vercel bot commented Sep 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2023 9:20am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Sep 25, 2023 9:20am

@@ -45,7 +45,7 @@ export const AddDependency: FC<IAddDependencyProps> = ({
onChange={e => setParent(trim(e.target.value))}
/>
<PermissionButton
permission={CREATE_FEATURE}
permission={UPDATE_FEATURE}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

eventually we'll get a permission for managing dependencies, for now UPDATE_FEATURE is more correct than CREATE_FEATURE

openApiService,
}: DependentFeaturesServices,
startTransaction: TransactionCreator<UnleashTransaction>,
) {
super(config);
this.transactionalDependentFeaturesService =
transactionalDependentFeaturesService;
this.dependentFeaturesService = dependentFeaturesService;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

deletion does not have to be transactional as there's only one DB operation involved

@kwasniew kwasniew changed the title Delete dependency api feat: Delete dependency api Sep 25, 2023
@kwasniew kwasniew merged commit a9805b3 into main Sep 25, 2023
16 checks passed
@kwasniew kwasniew deleted the delete-dependency-api branch September 25, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants