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

Updates module support #130

Merged
merged 7 commits into from Oct 20, 2023
Merged

Updates module support #130

merged 7 commits into from Oct 20, 2023

Conversation

mrigsby
Copy link
Contributor

@mrigsby mrigsby commented Oct 12, 2023

Updated wire@module support to allow using #wire( "wire@module" )# outside of the module the wire exists in.

If just the wire name is used from inside a module and the wire does not exist in the current module, it looks for a matching wire name in the root wire location and if found uses it.

Note: commit 111a220 is supposed to be "added regex for SAFE wire name"

@grantcopley
Copy link
Collaborator

@mrigsby I'm just now seeing this. I'll take a look through the changes and report back. Thanks for the PR!

@mrigsby
Copy link
Contributor Author

mrigsby commented Oct 19, 2023

@mrigsby I'm just now seeing this. I'll take a look through the changes and report back. Thanks for the PR!

Thanks, hopefully it's up to par and helpful :-)

@grantcopley
Copy link
Collaborator

@mrigsby This looks really good! I made a few changes as I noticed issues if you tried to reference a subfolder within a module, such as: #wire( "folder.myComponent@myModule" )#.

I added tests to cover all the scenerios. I'll be doing some more testing and will merge soon.

Thanks so much for your help!

  • Grant

@mrigsby
Copy link
Contributor Author

mrigsby commented Oct 20, 2023

@grantcopley Glad to help where I can. I really love cbwire. Thank you for all your work!

@grantcopley grantcopley merged commit e34e12e into coldbox-modules:development Oct 20, 2023
3 of 4 checks passed
@mrigsby
Copy link
Contributor Author

mrigsby commented Oct 20, 2023

Thanks @grantcopley, I'm glad I could contribute!

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.

None yet

2 participants