postgrest-js icon indicating copy to clipboard operation
postgrest-js copied to clipboard

Make embedded resource non-nullable if using inner join

Open wyozi opened this issue 1 year ago • 1 comments

What kind of change does this PR introduce?

Makes embedded many-to-one resource type non-null when using inner join

What is the current behavior?

Inner joined resources are nullable, even though in practice they must always exist

What is the new behavior?

Fixes inner joined embedded resource type

Additional context

fixes #456

wyozi avatar Aug 08 '23 18:08 wyozi

Hey, it would be cool if this can be merged as we are having the same issue with the incorrect types being generated for embedded, required relations. Any reason why this does not get merged?

olee avatar Feb 09 '24 10:02 olee

@steve-chavez rebased this one

wyozi avatar Mar 12 '24 11:03 wyozi

:tada: This PR is included in version 1.14.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Mar 28 '24 10:03 github-actions[bot]