Skip to content

Thanks for sharing #1

@idkjs

Description

@idkjs

Thanks for sharing the knowledge.

I am trying to run your example and getting a few errors:

Maybe its a typo. What did you intend with module Migrations....

********** NEW BUILD **********

File "src/adb/PG.re", lines 105-107, characters 2-9:
105 | ..[%rapper execute({sql|
106 |   SET session_replication_role = replica;
107 |   |sql})]..
Error: Unbound module Rapper_helper
File "src/adb/migration.re", line 4, characters 17-41:
4 | module type DB = Rapper_helper.CONNECTION;
                     ^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Rapper_helper
                                             
********** NEW BUILD **********

File "example/example.re", line 6, characters 27-52:
6 | let migrations = [((module Migrations.Initial_schema): (module S.Migration))];
                               ^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Migrations
Hint: Did you mean Migration?
                                             
********** NEW BUILD **********

File "example/example.re", line 6, characters 27-51:
6 | let migrations = [((module Migration.Initial_schema): (module S.Migration))];
                               ^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Migration.Initial_schema
Had errors, waiting for filesystem changes...

Thanks again for sharing your knowledge.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions