Skip to content
New issue

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

Two chains in the same file #22

Merged
merged 2 commits into from
Jul 12, 2023
Merged

Two chains in the same file #22

merged 2 commits into from
Jul 12, 2023

Conversation

kevroy314
Copy link
Contributor

Fixed this issue: #21 as described and tested. Works fine.

One thing to consider is if you want the "." character to delimit the chain name from the module. I think it's fine, but another character that won't cause problems might be warranted.

When two chains are in one file, the chains are defined only to the module level, resulting in a KeyError. By including the chain variable name in the endpoint prefix, this resolves the issue.
Fixed issue causing two chains in one file to fail
@vercel
Copy link

vercel bot commented Jun 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langcorn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 29, 2023 4:19pm

@msoedov
Copy link
Owner

msoedov commented Jul 12, 2023

Thx for the patch @kevroy314 ! Apologies for the delay

@msoedov msoedov self-requested a review July 12, 2023 10:33
@msoedov msoedov merged commit 7cb909e into msoedov:main Jul 12, 2023
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