Ed Page

Results 596 issues of Ed Page

Example test ```rust assert_eq!( v!([{ "a": 1, "b": 2 }]), filters!(reverse, v!({"a": 1, "b": 2})) ); ``` - [Rust implementation](https://github.com/cobalt-org/liquid-rust/blob/master/src/filters/mod.rs) - [Ruby implementation](https://github.com/Shopify/liquid/blob/master/lib/liquid/standardfilters.rb) - [Relevant tests](https://github.com/cobalt-org/liquid-rust/search?q=liquid+256&unscoped_q=liquid+256) - Once this is...

enhancement
good first issue
std-compatibility

Example test ```rust let template = r#"{% assign key = "foo" %}{{ thing | map: key | map: "bar" }}"#; let hash = v!({ "foo": { "bar": 42 } });...

enhancement
good first issue
std-compatibility

Example test: ``` let assigns = v!({ "words": ["a", nil, "b", nil, "c"], "hashes": [{ "a": "A" }, { "a": nil }, { "a": "C" }], }); // Test hashes...

bug
good first issue
std-compatibility

Currently, increment / decrement have special support in `Context`. We should generalize this to be like the ruby version so any plugin can do this.

enhancement
api-break

Example test ```rust assert_eq!(v!([]), filters!(uniq, v!([]), v!("a"))); ```

enhancement
question
std-compatibility

Blocked on #315 Related to #326

enhancement

Blocked on #301

enhancement

Example test: ```rust let assigns = v!({ "array": { "items": [1, 2, 3, 4, 5, 6, 7, 8, 9, 0] } }); let markup = r#" {%for i in array.items...

question
std-compatibility

Example test case: ```rust assert_template_result!("", wrap(" {% comment %} whatever {% endcomment %} "),); ``` This seems strange. We need to dig in further to understand under what situations the...

question
std-compatibility
format-break
api-break

Currently, partial-templates can be named. This will be helpful for error messages. We should allow this for regular templates.

enhancement