Skip to content

Conversation

@sahin52
Copy link

@sahin52 sahin52 commented Feb 22, 2023

I checked a web api about what it returns for various objects. So as I see, underscores are saved, but the initial letters are lowercase if they are uppercase in the backend. So I added a config, which will let you have the same object with the one that returns from web api

…rFirstLetter option is added to enable lowering first letter without using camel case to preserve underscore in attributes + README update
…was returned like bb4bbaa but should be bB4BBaa
@digocesar
Copy link
Collaborator

digocesar commented Jun 10, 2024

Hi @sahin52.
I'm using WCF with .Net Framework and if property starts with uppercase in the backend, the web need to send in uppercase too.
Is there an option in .Net Core to share the WebAPI property starting with lowercase? Even if the C# class is using Uppercase? The webApi makes the conversion?
Can you appoint some example or documentation?

@sahin52
Copy link
Author

sahin52 commented Jun 10, 2024

I don't remember exactly, but it was
.Net Framework Web Api with Owin. I was using the pull request in my project because of that problem. I don't remember the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants