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(api-service): fix additional properties issue #7434

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

djabarovgeorge
Copy link
Contributor

What changed? Why was the change needed?

This PR enables issue management to use schemas' additional properties flag.

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

netlify bot commented Jan 5, 2025

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit 70ef3c7
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/677aa216c31dd30008909272
😎 Deploy Preview https://deploy-preview-7434.dashboard.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

currentPath += `.${part}`;
const valueSearch = _.get(variableSchema, currentPath);
if (additionalPropertiesValue !== undefined) {
return { isValid: additionalPropertiesValue === true };
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the key change, if additionalPropertiesValue === true we will allow arbitrary variables.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

mostly refactoring to more readable code.

Copy link

netlify bot commented Jan 5, 2025

Deploy Preview for dashboard-v2-novu-staging ready!

Name Link
🔨 Latest commit 70ef3c7
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/677aa2161e07500008781008
😎 Deploy Preview https://deploy-preview-7434.dashboard-v2.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@djabarovgeorge djabarovgeorge merged commit 84beb77 into next Jan 6, 2025
33 checks passed
@djabarovgeorge djabarovgeorge deleted the fix-additional-properties-issue branch January 6, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants