Skip to content

Merge internal options to timeline options - #147304

Merged
Jackson Kearl (JacksonKearl) merged 1 commit into
mainfrom
lramos15/removeInternalOptions
Apr 12, 2022
Merged

Jackson Kearl (JacksonKearl) merged 1 commit into
mainfrom
lramos15/removeInternalOptions

Conversation

@lramos15

Copy link
Copy Markdown
Member

This PR fixes #145983

Merges InteralOptions into TimelineOptions. The timeline options structure was entirely optional before so this seems like a safe change.

The main downside to this is now the timeline API technically has access to the cacheResult and resetCache flag despite it not being exposed in the .d.ts interface. They would of course have to probe the source code for this and since it's undocumented we make no guarantees of future compatibility.

I didn't feel comfortable removing cacheResult despite it always being passed as true as I don't know enough about how the caching works currently.

/cc Benjamin Pasero (@bpasero)

@lramos15 Logan Ramos (lramos15) added this to the April 2022 milestone Apr 12, 2022
@JacksonKearl
Jackson Kearl (JacksonKearl) deleted the lramos15/removeInternalOptions branch April 12, 2022 18:14
@github-actions github-actions Bot locked and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeline options feedback

2 participants