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)
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)