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

fix: relax validation of disallowedCategories of dapp-explorer feature flag payload [LW-12163] #1749

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

Conversation

szymonmaslowski
Copy link
Contributor

@szymonmaslowski szymonmaslowski commented Feb 28, 2025

Checklist

  • JIRA - <link>
  • Proper tests implemented
  • Screenshots added.

Proposed solution

  • Removed allowed categories to be provided by the disallowedCategories property of the dapp-explorer FF payload
  • Slightly reorganised code by moving schema validation logic to the PostHogClient space where it is actually used

@szymonmaslowski szymonmaslowski requested a review from a team as a code owner February 28, 2025 12:10
@szymonmaslowski szymonmaslowski self-assigned this Feb 28, 2025
@szymonmaslowski szymonmaslowski changed the title fix: relax validation of disallowedCategories prop of dapp-explorer F… fix: relax validation of disallowedCategories of dapp-explorer feature flag payload [LW-12163] Feb 28, 2025
@szymonmaslowski szymonmaslowski force-pushed the fix/lw-12163-relax-disallowed-categories-validation branch from d418674 to b6eaee7 Compare February 28, 2025 13:02
Copy link
Member

@rhyslbw rhyslbw left a comment

Choose a reason for hiding this comment

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

This PR is a little hard to review since the two distinct changes are committed together. In future it would be best to move the code first (refactor type), then change its behaviour in a follow up commit.

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.

3 participants