SwiftGen/StencilSwiftKit

Migrate some filters to use parameters

Closed this issue · 0 comments

Some Filters were created at a time when Stencil didn't support filter parameters yet.

As a result, we have some filters that have been duplicated to allow some variations, but now that Stencil filters support parameters, these duplications can be removed and changed to a filter parameter instead.

One typical example is filters StringFilters.snakeToCamelCase + StringFilters.snakeToCamelCaseNoPrefix that can be unified to a single StringFilters.snakeToCamelCase filter with a parameter (prefix: Bool)