Skip to content

Codegen needs to trim Strings when read from the config files #212

@ddobrin

Description

@ddobrin

When Codegen reads the config.json file, some fields are read as strings. These strings need to be trimmed.

Without this, issue #208 is affected:
#208

Developers can declare values as:
"httpPort":8080,
or
"httpPort": 8080, (see a space in the middle).

Issue listed in #208 would generate differently and fail for
httpPort: ${server.httpPort:@httpPort}

The Config module fails if it sees:
httpPort: ${server.httpPort:8080}
vs
httpPort: ${server.httpPort: 8080} (again, see space)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions