Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TsProperty Name override, is itself overridden by config settings #57

Closed
PandaWood opened this issue Nov 29, 2017 · 2 comments
Closed
Assignees

Comments

@PandaWood
Copy link
Contributor

PandaWood commented Nov 29, 2017

[JsonIgnore,TsProperty(Name = "ID", ForceNullable = true)]
protected virtual int _id { get { return 0; }}

Gives me below, when settings are for Camel Case, but I don't expect camel case settings to override an explicit setting of the "Name"

export interface IDomainObject
{	
	id?: number;
}
@pavel-b-novikov pavel-b-novikov self-assigned this Nov 29, 2017
@pavel-b-novikov
Copy link
Member

pavel-b-novikov commented Nov 29, 2017

Crap. RT is even more logical than required :D
Use dirty hack ShouldBeCamelCased = false while I'm fixing.

@pavel-b-novikov
Copy link
Member

Fixed in version 1.4.2
unit test

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

No branches or pull requests

2 participants