8000 The path to 1.0 · Issue #60 · cloudcreativity/laravel-json-api · GitHub
[go: up one dir, main page]

Skip to content
The path to 1.0 #60
Closed
Closed
@lindyhopchris

Description

@lindyhopchris

Now that neomerx/json-api is at 1.0 we want to get this library to 1.0 as soon as possible - to give people confidence that the API is stable.

The recent routing refactor and reducing the number of units per resource type (currently on develop - will be released as 0.8) puts in a lot of pre-1.0 changes that we wanted to do to simplify the package.

Required 1.0 Features

Required Internal Changes

  • Rename the Resource class as it is a reserved word in PHP 7.0
  • Extract StandardObjectInterface and related generic classes to a separate utility library.
  • Single ValidatorErrorFactoryInterface in the cloudcreativity/json-api package rather than extending that interface in laravel-json-api.
  • Ideally stop injecting HttpServiceInterface and instead inject the ApiInterface and RequestInterface directly. This is possible as long as no services are created post the JSON-API middleware running.

Opening this issue so that people can comment on any features that they think are needed for 1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0