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

Add helper for common queries #3

Open
peterleiva opened this issue Jan 1, 2022 · 0 comments
Open

Add helper for common queries #3

peterleiva opened this issue Jan 1, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@peterleiva
Copy link
Owner

There's case which I have to query for common environment all the time, having to typing env("<environment>") can be cumbersome.

Add utility function as an alias to common environment query
Example:
env("development") can have env.isDev, the same can be applied to env.isProd and so on.

That utilities can be functions or simple values without needing to calling a function

@peterleiva peterleiva added enhancement New feature or request good first issue Good for newcomers labels Jan 1, 2022
@peterleiva peterleiva changed the title Add helper for common environment Add helper for common queries Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant