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

feat: inject route data added #286

Merged
merged 3 commits into from
Feb 28, 2024

Conversation

kkachniarz220
Copy link
Contributor

PR adds a injectRouteData() injector.

routeData = injectRouteData(); // Data
entityDetails = injectRouteData('details') // 'details' key value in route data object
routeDataKeys = injectRouteData(data => Object.keys(data)); // route data object keys

Future may be useful when using resolvers.

Copy link

nx-cloud bot commented Feb 23, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 309a3fc. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


🟥 Failed Commands
nx affected --target=lint --parallel=3
✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@eneajaho
Copy link
Collaborator

Hi @kkachniarz220
Thanks for sending this PR, it looks great!

The only thing left is to add some documentation page 📃.

@kkachniarz220
Copy link
Contributor Author

Docs added.

@eneajaho eneajaho merged commit f06b1e4 into ngxtension:main Feb 28, 2024
1 of 2 checks passed
@eneajaho
Copy link
Collaborator

@all-contributors please add @kkachniarz220 for code

Copy link
Contributor

@eneajaho

I've put up a pull request to add @kkachniarz220! 🎉

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