Skip to content

Commit

Permalink
🎨 readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Sep 2, 2021
1 parent c15ff08 commit 7c65999
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,16 @@ export interface Location {
}
```

This will override all columns or mutators
This will override all columns, mutators and relationships

You can also specify an interface is nullable:

```php
public array $interfaces = [
'choices' => [
'name' => 'ChoicesWithPivot',
'import' => '@/types/api',
'nullable' => true,
],
];
```

0 comments on commit 7c65999

Please sign in to comment.