supabase-community / seed

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

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

Closed justinvdm closed 7 months ago

justinvdm commented 7 months ago

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

Also adds corresponding e2e tests.

linear[bot] commented 7 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.