Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@frankdugan3
Copy link
Contributor

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

zachdaniel
zachdaniel previously approved these changes Jun 25, 2025

def do_expr({:fragment, opts, [{_, _, [{:<<>>, _, [query]}, []]} | rest]}, escape?)
when is_binary(query) do
do_expr({:fragment, opts, [Macro.expand(query, __ENV__) | rest]}, escape?)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this discards whatever compile time transformations are made by the sigil doesn't it? I think we'd want to pass the AST through right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I made a few changes that should address that properly.

@zachdaniel zachdaniel merged commit a13f372 into ash-project:main Jun 26, 2025
43 checks passed
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants