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

chore(typescript): move remaining addon and test-app code #1015

Merged
merged 4 commits into from
Dec 23, 2024

Conversation

BobrImperator
Copy link
Contributor

@BobrImperator BobrImperator commented Dec 23, 2024

  • Moves remaining addon code to typescript i.e. the service and test-support module.
  • Moves most of the test-app files to typescript.
  • No API changes, only types are added.

There's a bit of a weird dynamic when handling fastboot cookies.

Fastboot.request.cookies are meant to be a hash of key => value pairs, where both key and value are strings. However we seem to be converting that into key => { value: string, options: unknown } which is a bit confusing and messes up typing experience. This could use some cleanup.
The relevant function calls are _getFastBootCookies, this._fastBootCookiesCache.

Base automatically changed from typescript to master December 23, 2024 12:52
@BobrImperator BobrImperator merged commit 9c1bd44 into master Dec 23, 2024
17 checks passed
@BobrImperator BobrImperator deleted the typescript-refactor branch December 23, 2024 12:53
@github-actions github-actions bot mentioned this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant