You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(typegen): add functions setof type introspection (#971)
* feat(typegen): add setof function type introspection
- Introspect the setof function fields for functions
- Restore functions as unions of args + returns
* chore: update snapshots
* chore: unify sort and dedup loops
* chore: remove duplicate sort
* chore: include view in type
* fix: isOneToOne
* fix: tests
* chore: dedup typescript typegen logic
* chore: re-use generateColumn
* fix: retrieve prorows only
* chore: refactor typegen for prorows only
* fix: only get reltype in types
* chore: reuse relationTypeByIds
* chore: reduce functions changes to minimum
* chore: only single loop for types
* chore: single sort for relationships
* chore: reduce loops
* fix: relationtype setof functions generation
* chore: fix prettier
* chore: update snapshots
* chore: fix types test
* fix: test types
* fix: include materializedView types
* test: add search_todos_by_details function
* fix: add setof from * for all relation functions
* fix(typescript): union unknown null (#995)
* fix(typescript): unknown is already nullable
Fixes: supabase/cli#4234supabase/cli#577
* fix: also exclude any from null union
fix(tables): ensure order of composite pks preserved (#996)
* fix(tables): ensure order of composite pks preserved
* test: add test for preserving composite pk order