Aidan Casey

Results 13 comments of Aidan Casey

@duncan3dc - Sounds like a plan! 👍🏼

@danharrin - Probably the easiest way to come about this is to refactor the models to require a static `getSourceKey()` method which is used to register it. We could always...

@subotkevic I believe that @asadhshujau and @happyDemon are attempting to link existent resources in the request, not create new ones. In which case, that is inaccurate. See #30.

Hi @Garanaw, I cannot speak for the author, but I think this package assumes a familiarity with the [JSON:API](https://jsonapi.org/format/) specification, so that kind of documentation doesn't really belong here. That...

@innocenzi - Why would this not be based on whether the property is nullable? Example: ```php class UserData { public function __construct( public ?int $id, public string $first_name, ) {...

@innocenzi - Sorry, I phrased that in a confusing way. My question is more: if a property is nullable in PHP, why would it not just be nullable in Typescript...

@innocenzi - My point is that I don't think that is an accurate equivalent though. Marking a property as nullable in PHP does not make it optional. You still have...

@Elnadrion - Thanks for the PR. I am going to leave this open for now as we determine a roadmap for v4.

Thanks for the PR, @gerpo. What's the use case for this outside of fixing #272?