这是indexloc提供的服务,不要输入任何密码
Skip to content

Hypermedia.JsonApi.AspNetCore is not formatting class attributes for .NET Core 2.2 #18

@gabrielbutron

Description

@gabrielbutron

Hi, I have problems formatting attribute names in .NET Core 2.2 using Hypermedia. Below is an example of the result of a formatted object:

{ "data":{ "type":"products", "id":"1", "attributes":{ "Name":"ProductA", "Price":10, "Description":"descripcion 1", "OwnerName": "OwnerA" } } }

As you see we have the attribute names with Capital letter ("Name" instead of "name").
Composite words are not dashed and also start with Capital letter ("OwnerName" instead of "owner-name").

I'm missing something?
Thanks in advance.

Versions:
.NET Core 2.2
Hypermedia 1.1.0
Hypermedia.JsonApi.AspNetCore 1.3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions