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
We have id and ID. Yes, it's really "not clever" at all but true and correct :)
In class generator ucwords() is used. So generator tries to generate getId() method x2 and throws an exception.
The text was updated successfully, but these errors were encountered:
tomasz-kusy
changed the title
Case sensitive attributte name are threated as insensitive
Case sensitive attributte names are threated as insensitive
Jun 8, 2020
I've been thinking about it and probably I have no good idea.
It can add a new configuration parameter like "case insensitive xml" - default true. By default, the generator would work like now "getId" - camel case. But after setting it to false the name of the method would be created like "get_ID" and get_id".
I've been thinking about it and probably I have no good idea.
It can add a new configuration parameter like "case insensitive xml" - default true. By default, the generator would work like now "getId" - camel case. But after setting it to false the name of the method would be created like "get_ID" and get_id".
if that will solve your issue, I'm happy to accept a PR.
Hi,
Example:
We have
id
andID
. Yes, it's really "not clever" at all but true and correct :)In class generator ucwords() is used. So generator tries to generate getId() method x2 and throws an exception.
The text was updated successfully, but these errors were encountered: