WebAPI-DBIC icon indicating copy to clipboard operation
WebAPI-DBIC copied to clipboard

A composable RESTful JSON API to DBIx::Class schemas using roles and Web::Machine. PLEASE NOTE This module is no longer under active development. If you're interested in helping to develop or maintain...

Results 18 WebAPI-DBIC issues
Sort by recently updated
recently updated
newest added

Given the following query string: `/artists?prefetch~json={"cds":"tracks"}` I would expect a response similar to this: ``` { "linked": { "cds": [...], "tracks": [...], }, "links": { "cds": {...}, "tracks": {...} },...

bug

Currently all resources are created in memory as Web::Machine subclasses. There should likely be a Schema::Loader style option to output these for future use/modification into a specific directory. So for...

enhancement

WebAPI::DBIC defaults to the pragmatic approach of being a thin layer over your existing DBIx::Class schema. This is indeed very pragmatic and gives you an 'Instant RESTful API'. However, time...

enhancement

Hi Tim! As you said yourself in comments - the codebase contains a hack: https://github.com/timbunce/WebAPI-DBIC/blob/master/lib/WebAPI/DBIC/Resource/Role/Relationship.pm#L69-L115 You should be able to delete your code and use this instead: https://github.com/dbsrgits/dbix-class/blob/current/for_cpan_index/lib/DBIx/Class/ResultSource.pm#L1832-L1853. It will...

enhancement

[JSON-LD](http://json-ld.org/index.html) is worth exploring as an additional media type for WebAPI::DBIC.

enhancement

Currently the error response is ad-hoc an JSON data structure. It would be good to adopt a more formal standard such as [application/vnd.error+json](https://github.com/blongden/vnd.error). It would also be good to move...

Adding support for [JSON API](http://jsonapi.org) would make WebAPI::DBIC directly usable as a backend for web applications implemented in EmberJS. JSON API uses the `application/vnd.api+json` media type. JSON API was originally...

enhancement