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

(910) Don’t change the object key when changing the name #9947

Conversation

pezholio
Copy link
Contributor

Trello card: https://trello.com/c/TbeX7mVC/910-bug-editing-the-name-of-a-rate-causes-embed-code-to-break

This avoids the issue where changing the name of a rate breaks the embed code. It does mean that once a name is set, this means the key of the object is immutable, but this is a similar issue to how slugs work in other documents. We can revisit this if it becomes an issue.

@pezholio pezholio force-pushed the content-modelling/910-bug-editing-the-name-of-a-rate-causes-embed-code-to-break branch from 57ac55c to d77789d Compare February 18, 2025 12:01
This avoids the issue where changing the name of a rate breaks the embed
code. It does mean that once a name is set, this means the key of the
object is immutable, but this is a similar issue to how slugs work in
other documents. We can revisit this if it becomes an issue.
@pezholio pezholio force-pushed the content-modelling/910-bug-editing-the-name-of-a-rate-causes-embed-code-to-break branch from d77789d to d856099 Compare February 18, 2025 12:07
@pezholio pezholio merged commit 40788cd into main Feb 19, 2025
19 checks passed
@pezholio pezholio deleted the content-modelling/910-bug-editing-the-name-of-a-rate-causes-embed-code-to-break branch February 19, 2025 10:50
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