PentiaLabs / generator-helix

Generate Helix compliant solutions with Yeoman.
MIT License
40 stars 22 forks source link

Layername is not used in the serialization.config #72

Closed saberone closed 7 years ago

saberone commented 7 years ago

User story

As a developer, I want the correct variabel to be used in serialization.config so that the serialized items end up in the correct folder.

Expected behavior

The serialized items should end up in the foundation/feature/project folder.

Actual behavior

The sc-variable thats being used is now hard coded to $(featureFolder). It should depend on the layer that's selected by the user.

Steps to reproduce the behavior

yo helix:add Select Project as layer.

The following is in the generated serialization.config file :

<targetDataStore
            physicalRootPath="$(featureFolder)\Login\$(configurationFolder)"
            useDataCache="false"
            type="Rainbow.Storage.SerializationFileSystemDataStore, Rainbow"
            singleInstance="true"
          />