tutone icon indicating copy to clipboard operation
tutone copied to clipboard

Lang specific formatting should be done outside of the schema.

Open zlesnr opened this issue 4 years ago • 0 comments

Currently we have a few GetName() methods that wrap the string in a goFormatName in the schema_util code. This however, may not be the desirable place for this modification if we want to start including other languages here. Perhaps it would be better to move this method handling to the lang/golang package and format the names in the generators that use that package, rather than the aiming-to-be-generic code like schema_util.

zlesnr avatar Sep 03 '20 19:09 zlesnr