You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v4 camelCase is the standard casing convention, by which we're following new json:api recommendations, see #618. You can switch back to kebab-case by setting the KebabCaseFormatter as the implementation of IResourceNameFormatter:
// make sure you call this BEFORE `.AddJsonApi( .. ) services.AddSingleton<IResourceNameFormatter,KebabCaseFormatter>();
See tests related to KebabCaseApplicationFactory.cs in JsonApiDotNetCoreExampleTests.
"provider-code": null,
Is that really the response you're getting? That would indicate a serious bug. I'm going to assume that is not the case since all the rest is camelcase. Let me know if otherwise.
Closing as not a bug
Thanks for the issues you've been opening up, will go through them soon
Description
After updating my local clone to #619, attribute casing in JSON responses has changed.
Before:
The text was updated successfully, but these errors were encountered: