-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
131 changed files
with
4,100 additions
and
4,104 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"ocaml.sandbox": { | ||
"kind": "opam", | ||
"switch": "struct" | ||
"switch": "rescript-schema" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ Before you start working on a contribution, create an issue describing what you | |
The following steps will get you setup to contribute changes to this repo: | ||
|
||
1. Fork this repo. | ||
2. Clone your forked repo: `git clone [email protected]:{your_username}/rescript-struct.git` | ||
2. Clone your forked repo: `git clone [email protected]:{your_username}/rescript-schema.git` | ||
3. Install [pnpm](https://pnpm.io/) if not available `npm i -g [email protected]` | ||
4. Run `pnpm i` to install dependencies. | ||
5. Start playing with the code! | ||
|
@@ -25,7 +25,7 @@ Make sure running the below commands in `packages/ppx/src`. | |
1. Create a sandbox with opam | ||
|
||
``` | ||
opam switch create struct 4.12.1 | ||
opam switch create rescript-schema 4.12.1 | ||
``` | ||
|
||
2. Install dependencies | ||
|
@@ -55,4 +55,4 @@ npm run test -- --watch | |
|
||
## License | ||
|
||
By contributing your code to the rescript-struct GitHub repository, you agree to license your contribution under the MIT license. | ||
By contributing your code to the rescript-schema GitHub repository, you agree to license your contribution under the MIT license. |
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,7 +1,7 @@ | ||
[⬅ Back to highlights](../README.md) | ||
|
||
# ReScript Struct for library maintainers | ||
# ReScript Schema for library maintainers | ||
|
||
If you're a library maintainer, you can use **rescript-struct** to get information about described structures. The most common use case is building type-safe schemas e.g for REST APIs, databases, and forms. | ||
If you're a library maintainer, you can use **rescript-schema** as a building block for your tools. The most common use case is a type-safe schema for REST APIs, databases, forms, etc. | ||
|
||
Documentation for this feature is work in progress, for now, you can use `S.resi` file as a reference and the [rescript-json-schema](https://github.com/DZakh/rescript-json-schema)'s source code. |
Oops, something went wrong.