Skip to content

Static mappings #76

Description

@skynet2

Hi @trenoncourt ,

Thanks for your awesome library.
In the scope of our project, we decided to use it as a replacement for graphql api.

But there is a problem, our system-wide standard is snake case, so all response properties are converted in a snake case using json.net. But in order this library to work we had to pass property name in CamelCase (as we have in c# code).

After some research, we implemented a solution to add an ability to have a static mapping for your library.

We`ve created an entity framework mapping builder which uses attributes from entity framework to correctly map properties.

Can you please take a look at commit skynet2@9389311

If it`s okay to have in public repo for your library, I can add some tests and create a pull request.

Thanks,
Stas

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