-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
I get the following error message in the compiler when using object type spread and the Sury PPX:
The module or file can't be found.
- If it's a third-party dependency:
- Did you add it to the "bs-dependencies" or "bs-dev-dependencies" in bsconfig.json?
- Did you include the file's directory to the "sources" in bsconfig.json?
Hint: Did you mean S?
Here's an example of the code that triggers this error: https://rescript-lang.org/try?version=v11.1.4&module=esmodule&code=LYewJgrgNgpgBAWRgFwIZwLxwN4Cg5wACAzgMYAWMwq+cyAngA7zKY60ECWYAXHMcgBOnAHYBzADQd+EYNUH0+IRsk4gRAHgHDxAPikEAvrmO4SFKjQbM6bPAQB0TpGgfIDcYDGLFUY73yogoKo9FpComL6JrhAA
And printed here:
module Meta = {
@schema
type t = {
id: string,
summary: option<string>,
}
}
@schema
type t = {
...Meta.t,
messages: array<string>,
}Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers