Hello, Igniters.

Currently, BasicBinaryNameMapper[isSimpleName=false] assumes that type names 
equals both in Java and .Net.

        • Java type - ru.company.Model
        • .Net type - ‘ru.company.Model`

However, .net naming conventions [1] differs from java [2]
So, if a user follows both conventions then names will be

        • Java type - ru.company.Model
        • .Net type - 'Ru.Company.Model`

User can implement this behaviour in custom name mapper, but custom name mapper 
will disable RegisterSameJavaType mode.

To solve this issue I prepared a PR[3] and ticked [4].
PR introduces new BasicBinaryNameMapper#ForceJavaNamingConventions flag that 
enables mapping from .Net style to the java naming style.

WDYT?

[1] 
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces
[2] 
https://www.oracle.com/java/technologies/javase/codeconventions-namingconventions.html
[3] https://github.com/apache/ignite/pull/8795
[4] https://issues.apache.org/jira/browse/IGNITE-14169

Reply via email to