Skip to content

Conversation

@btecu
Copy link
Contributor

@btecu btecu commented Jun 12, 2018

Currently, it is not possible to chain AddJsonApi:
services.AddJsonApi<DbContext>().AddMvcCore()

It should be, to be inline with all other apis (including all Microsoft).

It's not a breaking change. I've modified the example application and a test to use it.

I also thought about adding it to AddJsonApiInternals but that should be private - seems like it will be in the future.

@jaredcnance
Copy link
Contributor

Looks good. Thanks!

@jaredcnance jaredcnance merged commit 3fc1099 into json-api-dotnet:master Jun 12, 2018
jaredcnance added a commit that referenced this pull request Aug 12, 2018
Make `AddJsonApi` chainable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants