Closed Raistlfiren closed 8 years ago
Hi @Raistlfiren,
Awesome stuff.
Is this for Bolt 3? If so, then I might make:
master
and a release/3.0
branch for Bolt 3.x.xrelease/2.2
branch for Bolt 2.2.xI've merged the other pull request with a few fixes, do you think you can rebase that or do we need to try and fix some merge conflicts?
@xiaohutai
This is for Bolt 3. Sorry for not clarifying. A summary of what I have done is listed below -
filters
, contains
, page[number]
, page[size]
, and includes
into a ParamConverter$app['paths']['baseurl']
to $app['paths']['hosturl']
A few things to do are
fields
are not fetched in JSONAPIConverter(Param Converter)Hello @Raistlfiren ,
I went ahead and merged the other pull request (Bolt 2.2 version). Does this pull request need to be applied on top of that, or should I have branched it off before that pull request #16 ?
Thanks again for you hard work!
@xiaohutai - OK, I think this is ready for V3 now. There are still a few more tasks that would be nice to get completed like testing, but that can be done over time. I did notice an issue with the total results being returned when running COUNT(*)
. I am looking into the issue. I think it has to do with excluding groupBy
in the query.
This should also resolve some of the issues as well like #14 - all routes now use the JSONAPI parameters, #11 - I used hostUrl for the baseUrl and it carries the port # with it, and #8 - checks datetime types to see if they are null before trying to apply a format to the object.
This is about completed. There are a few things to fix, add, and remove.