coolsam726/jetstream-inertia-generator

Make Relationships Optional in Show page

Closed this issue · 1 comments

For optional belongsTo Relationships, trying to access a nested key throws a js error. e.g if books.author is optional, the generated code still tries to access books.author.name without checking for null first. This throws a javascript error.

REOPEN