Skip to content

Resolve "Ensure project snippet feature status in project API endpoints"

What does this MR do?

Modifies ProjectSnippet API endpoints to check for feature status before doing any further snippet querying and return a 404 if they are disabled, as described in #37320 (closed)

This should increase API performance by removing unnecessary SnippetsFinder usage.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports