Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14169

.NET: Support standard Java naming conventions in the name mapper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.10
    • platforms
    • .NET: Added NamespacePrefix and NamespaceToLower to BinaryBasicNameMapper
    • Docs Required, Release Notes Required

    Description

      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

      We should support standard naming conventions for both platforms in BasicBinaryNameMapper[isSimpleName=false].

      [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

      Attachments

        Issue Links

          Activity

            People

              nizhikov Nikolay Izhikov
              nizhikov Nikolay Izhikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m