Skip to content

Conversation

@jsdt
Copy link
Contributor

@jsdt jsdt commented Apr 16, 2025

Description of Changes

Typescript field names use camel case, but indexes were using snake case, which meant they could never find anything if the field has multiple words in it.

API and ABI breaking changes

For tables in the generated typescript code, this will change the name of the property that is generated for unique indexes. This could be considered a breaking change, but any code using those properties is already broken.

Expected complexity level and risk

1

Testing

I tested by adding a table to the quickstart app with a primary key of entity_id, and verifying the behavior of the generated code before and after this change.

@jsdt jsdt requested a review from jdetter April 16, 2025 16:55
@jsdt jsdt enabled auto-merge April 16, 2025 17:29
@bfops bfops requested review from bfops and removed request for jdetter April 21, 2025 17:57
Copy link
Collaborator

@bfops bfops left a comment

Choose a reason for hiding this comment

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

@jdetter asked me to take the review here. This LGTM.

@jsdt jsdt added this pull request to the merge queue Apr 21, 2025
@jdetter jdetter removed their assignment Apr 21, 2025
Merged via the queue into master with commit 9f09e8a Apr 21, 2025
14 checks passed
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.

4 participants