We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing without curlies:
[1] pry(main)> value = "*name*" => "*name*" [2] pry(main)> Graphiti::Scoping::Filter.new(nil, nil, nil).parse_string_arrays(value, false) => "*name*" [3] pry(main)> value => "*name*"
Parsing with curlies:
[4] pry(main)> value = "{{*name*}}" => "{{*name*}}" [5] pry(main)> Graphiti::Scoping::Filter.new(nil, nil, nil).parse_string_arrays(value, false) => "*name*" [6] pry(main)> value => ""
In the latter case if you want to reuse the value for anything it's lost. All of that happens because of this line: https://github.com/graphiti-api/graphiti/blob/master/lib/graphiti/scoping/filter.rb#L196 There is a gsub! on a value passed to the method that causes described side effect.
value
gsub!
The text was updated successfully, but these errors were encountered:
Failing spec for graphiti-api#451
ab6023d
744f622
Fixes graphiti-api#451.
64ce8d3
Removes side effect on passed `value` param when it's escaped
Successfully merging a pull request may close this issue.
Parsing without curlies:
Parsing with curlies:
In the latter case if you want to reuse the
value
for anything it's lost.All of that happens because of this line:
https://github.com/graphiti-api/graphiti/blob/master/lib/graphiti/scoping/filter.rb#L196
There is a
gsub!
on avalue
passed to the method that causes described side effect.The text was updated successfully, but these errors were encountered: