Skip to content

Conversation

@schrd
Copy link

@schrd schrd commented Aug 13, 2018

The idea is to use the kind_of attribute of a property to differentiate between
properties that need array values to be joined by " " and properties that need
to be written multiple times in the unit file

This patch is meant to be backwards compatible for other properties.

However, a better approach would be to do it the other way around and to introduce a class JoinedArray and then to do the " " join in options_value only for those properties that include the JoinedArray in their kind_of attribute

If you like the idea, let me know and I will do it that way.

the idea is to use the kind_of attribute of a property to differentiate between
properties that need array values to be joined by " " and propertties that need
to be written multiple times in the unit file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant