forked from redwoodjs/redwood
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/location-serverStore' of github.com:dac09/redwood …
…into feat/location-serverStore * 'feat/location-serverStore' of github.com:dac09/redwood: no need to repeat fullUrl Use Replay for smoke tests (redwoodjs#10664) chore(testing): Remove unused member in Props interface (redwoodjs#10699) fix(cli): Directive generator command was not creating files (redwoodjs#10698) Always execute the <Metadata> component on the client (redwoodjs#10271)
- Loading branch information
Showing
11 changed files
with
319 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- PR bug: Always evaluate the `<Metadata>` component on the client by @cannikin | ||
|
||
One of `<Metadata>`s dependencies (probably Helmet) uses `createContext()`. | ||
This throws an uncaught error in the RSC engine and crashes the server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
- fix(cli): Directive generator command was not creating files (#10698) by @dthyresson | ||
|
||
Fixes: https://github.com/redwoodjs/redwood/issues/10694 | ||
|
||
The PR fixes a regression in the directive generator where files were not created. | ||
|
||
At some point the method to construct files became async. Thus while the command attempted to construct the directive files and write them to the directive directory, it never did. | ||
|
||
With this fix, file are written: | ||
|
||
```bash | ||
✔ Generating directive file ... | ||
✔ Successfully wrote file | ||
`./api/src/directives/requireEmailValidation/requireEmailValidation.test.ts` | ||
✔ Successfully wrote file | ||
`./api/src/directives/requireEmailValidation/requireEmailValidation.ts` | ||
✔ Generating TypeScript definitions and GraphQL schemas ... | ||
✔ Next steps... | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
'use client' | ||
|
||
import React from 'react' | ||
|
||
import { Helmet as HelmetHead } from 'react-helmet-async' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.