Is there a filter to escape string?
Opened this issue · 0 comments
krypt-lx commented
I have multiple cases where I need to generate string constants using swiftgen, but I need those strings to be properly escaped.
Depending on use case, those I need strings to be
- swift strings
- proper localizable.strings strings
Is there a way to do so?
From sources, it looks like the answer is "no": https://github.com/SwiftGen/StencilSwiftKit/blob/fb6a88bac60b088a9f8b61bbc70eacecb2100b59/Sources/StencilSwiftKit/Environment.swift
Question 1: Maybe I missed something and it is actually possible to do?
Question 2: Will you accept a merge request if I submit an implementation of those filters?