-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
core: internalize normalized configs #14547
Conversation
} | ||
} | ||
// @ts-expect-error Breaking the NormalizedConfig type. | ||
jsonConfig.navigations = undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by: we don't want users to know about this
It might be worth discussing the goals with
If the reason to get rid of them isn't for hiding internals but just for keeping the API simple (why would a user need to call this?), I can see that but it also seems like it might be better postponed for the separation of the |
re config naming: input-config format vs normalized-config format is the same divide that the That decision still seems ok. |
Yeah, sound like they were using
I prefer the more specific name on our internal stuff. If we are moving to publicly exposed types, it would be better to have the |
Discussed with @paulirish and @brendankenny. Path forward looks like:
|
Closing and splitting this up |
#14048
No longer exposing
generateConfig
andgenerateLegacyConfig
on the surface api.Some renames to make this more clear
Config
->LegacyNormalizedConfig
FRConfig
->NormalizedConfig