Skip to content

Conversation

@CoolGoose
Copy link
Contributor

Hello folks, this is just a PoC (that I am cleaning up as we speak) of figuring out if there's interest on another config option to allow mapping closer to the JsonAPI spec and making this easier to use from the start with https://github.com/timacdonald/json-api

@CoolGoose CoolGoose marked this pull request as draft December 4, 2024 09:33
@CoolGoose CoolGoose force-pushed the feat/json-api-matchin branch 3 times, most recently from 8b916fd to 774579c Compare December 4, 2024 21:55
@CoolGoose CoolGoose marked this pull request as ready for review December 4, 2024 21:56
@CoolGoose CoolGoose changed the title WIP: feat: implement a way of matching the fields to the jsonapi spec feat: implement a way of matching the fields to the jsonapi spec Dec 5, 2024
@CoolGoose
Copy link
Contributor Author

I think it's ready for a review 😅

@CoolGoose CoolGoose force-pushed the feat/json-api-matchin branch from 774579c to 21de881 Compare December 5, 2024 10:33
@CoolGoose CoolGoose force-pushed the feat/json-api-matchin branch from 21de881 to c869008 Compare December 6, 2024 10:40
@CoolGoose CoolGoose force-pushed the feat/json-api-matchin branch from c869008 to beb5862 Compare December 6, 2024 12:56
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gonna remove this one after merging

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the review. As a curiosity @AlexVanderbist how does one run the tests ? I'm happy to have a separate PR for this if it helps, or at least learn how you guys run the tests internally.

@AlexVanderbist
Copy link
Member

Hey @CoolGoose, thank you for taking the time to make this more compatible with the base JSON API specification and Timacdonald's package. Although it adds some complexity, I'm happy to merge it since the tests are passing and no breaking changes have been introduced.

@AlexVanderbist AlexVanderbist merged commit cf5350e into spatie:main Dec 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants