Skip to content

Conversation

soedirgo
Copy link
Member

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Generated relationships with the same foreignKeyName aren't sorted by referencedRelation

What is the new behavior?

Sort by (foreignKeyName, referencedRelation)

Additional context

supabase/cli#1165

@soedirgo soedirgo requested review from a team as code owners October 31, 2023 12:38
Base automatically changed from feat/relationships-is-one-to-one to master November 1, 2023 02:31
@soedirgo soedirgo merged commit 61772da into master Nov 1, 2023
@soedirgo soedirgo deleted the fix/sort-relationships-by-referenced-table branch November 1, 2023 02:32
avallete pushed a commit that referenced this pull request May 13, 2025
…enced-table

fix(typegen): sort relationships by (fkey name, referenced table)
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.

2 participants