supabase-community / seed

Automatically seed your database with production-like dummy data based on your schema for local development and testing.
MIT License
384 stars 15 forks source link

fix: Fix types for `connect` for composite primary key #132

Closed justinvdm closed 5 months ago

justinvdm commented 5 months ago

We were generating types that looked like "id1 | id2" instead of "id1" | "id2".

Also adds corresponding e2e tests.

linear[bot] commented 5 months ago
S-2069 Fix types for `connect` to only look at id fields

`connect` only needs ids, but the types require all the fields to be given.