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

Add .Resources.ByPrefix #4266

Closed
regisphilibert opened this Issue Jan 12, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@regisphilibert

regisphilibert commented Jan 12, 2018

I assume file naming will play a major part in the way we organize our page resources.

A method .ByPrefix would allow to quickly get an array of the resources we need according to our project resources' naming convention.

It would nicely complement the already existing .ByType.

@bep bep changed the title from .Resources.ByPrefix to Add .Resources.ByPrefix Jan 12, 2018

@bep bep added the Enhancement label Jan 12, 2018

@bep

This comment has been minimized.

Member

bep commented Jan 12, 2018

I'm a little hesitant to add too much API (we already have where which should cover most queries), but ByPrefix kind of complements what's already there.

@bep bep added this to the v0.33 milestone Jan 12, 2018

@regisphilibert

This comment has been minimized.

regisphilibert commented Jan 12, 2018

I'm a little hesitant to add too much API

Gotcha, ByType and ByPrefix are plenty enough I believe.

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