Skip to content

Commit e991608

Browse files
committed
fix: getContext() should be sync
1 parent 795c16c commit e991608

File tree

12 files changed

+716
-3859
lines changed

12 files changed

+716
-3859
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ netlify serve
8080
```
8181
### App Engine Developer Preview usage with Angular@19
8282

83-
If you opt into the App Engine Developer Preview accessing `Request` and `Context` objects is streamlined. Instead of custom Netlify prefixed providers, you should use the standardized injection tokens for those provided by `@angular/ssr` instead:
83+
If you opt into the App Engine Developer Preview accessing `Request` and `Context` objects is streamlined. Instead of custom Netlify prefixed providers, you should use the standardized injection tokens for those provided by `@angular/core` instead:
8484

8585
```diff
86-
+import { REQUEST, REQUEST_CONTEXT } from '@angular/ssr/tokens'
86+
+import { REQUEST, REQUEST_CONTEXT } from '@angular/core'
8787
import type { Context } from "@netlify/edge-functions"
8888

8989
export class FooComponent {

0 commit comments

Comments
 (0)