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(server):alter reserved name on creation #8522

Merged
merged 2 commits into from
May 21, 2024

Conversation

yuval-hazaz
Copy link
Member

Close: #8521

PR Details

Alter the requested name when creating a field of an entity instead of throwing an exception.
This behavior helps Jovu but will also impact creation from other sources like the UI
This only changes the name of the entity and field and leave the display name and plural display name as it is

The behavior on update left the same and it will still throw an error when trying to update the name to a reserved one.

PR Checklist

  • Tests for the changes have been added
  • npm test doesn't throw any error

IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Copy link

nx-cloud bot commented May 21, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a37bbf4. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@mulygottlieb mulygottlieb merged commit fb6579c into next May 21, 2024
11 checks passed
@mulygottlieb mulygottlieb deleted the feat/entity-reserved-name branch May 21, 2024 18:00
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.

🐛 Bug Report: Jovu tries to create entities and fields with reserved names and fails
2 participants