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

multiple protocols on one property #31

Open
modi98 opened this issue Feb 27, 2023 · 0 comments
Open

multiple protocols on one property #31

modi98 opened this issue Feb 27, 2023 · 0 comments

Comments

@modi98
Copy link

modi98 commented Feb 27, 2023

Are there any plans on implementing a way to handle multiple nested protocols. Right now on my app I'm using the glob and require handlers and looking for a way to merge those two without having to create a custom requireGlob handler. Looking into something like this:

{
  "files": "require:glob:/myDir/**/*.json"
}

Where the output from the glob handler is then sent into the require. This doesn't have to be the final syntax, it could also be something like:

{
  "files": "glob:/myDir/**/*.json | require"
}

Looking for opinions, I could add the change if we agree on adding something like this. Not really looking into this exact scenario but more into the functionality of having multiple nested protocols.

@modi98 modi98 changed the title Multiple protocols on one property multiple protocols on one property Feb 28, 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

No branches or pull requests

1 participant