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

fix(material/datepicker): simplify DI setup #30247

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crisbeto
Copy link
Member

Previously we had to define an injection token for the MatDateRangeInput in order to avoid circular references. Now we can do the same with a type-only imports so we can simplify the setup.

Fixes #30238.

@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Dec 29, 2024
@crisbeto crisbeto requested a review from a team as a code owner December 29, 2024 09:12
@crisbeto crisbeto requested review from amysorto and wagnermaciel and removed request for a team December 29, 2024 09:12
@crisbeto crisbeto force-pushed the 30238/date-range-di-setup branch from 0d1e741 to 983bb43 Compare December 29, 2024 20:48
Previously we had to define an injection token for the `MatDateRangeInput` in order to avoid circular references. Now we can do the same with a type-only imports so we can simplify the setup.

Fixes angular#30238.
@crisbeto crisbeto force-pushed the 30238/date-range-di-setup branch from 983bb43 to 8fda6fe Compare December 29, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/datepicker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(MatDateRangeInput): export MAT_DATE_RANGE_INPUT_PARENT with DatePicker Module
1 participant