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

Implement component traits on ComponentCtx #421

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

elliottt
Copy link
Contributor

@elliottt elliottt commented Aug 28, 2024

Switch to implementing component traits on ComponentCtx instead of Session. This gives us access to the resource table, which will allow us to support the use of resources like the new fastly:api/kv-store/lookup-result resource.

The change was pretty mechanical:

  • all component traits are now implemented on ComponentCtx
  • many uses of self needed to change to self.session

cc @computermouth

@elliottt elliottt requested review from acw and ulyssa August 28, 2024 19:04
@elliottt elliottt force-pushed the trevor/change-component-impls branch from c066473 to c2b1bd0 Compare August 28, 2024 19:53
@elliottt elliottt merged commit ceed333 into main Aug 28, 2024
15 checks passed
@elliottt elliottt deleted the trevor/change-component-impls branch August 28, 2024 20:44
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