Hash syntax error
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 11.9k
- Forks
- 1.5k
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 3
Description
I can't figure out how to resolve this syntax error and it's only occurring when using hash.
Code:
{% assign add_auth = hash "Authorization", authorization_header %}
Error:
Liquid syntax error (line 57): Expected end_of_string but found string in "{{hash "Authorization", authorization_header }}"
Thanks in advance whoever helps.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the supplied assign expression in the Liquid parser and compare the error with the documented hash syntax. The issue mentions no files or tests; done means determining whether the syntax is supported and documenting the expected resolution or correcting the diagnostic if it is not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100