Skip to content

Commit 6c20c5c

Browse files
authored
Adding in caveat to the API hierarchy
1 parent 7442e5a commit 6c20c5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ Here is a checklist that all Gloo utility crates should fulfill:
129129
* [ ] There is a loose hierarchy with "mid-level" APIs (which are essentially thin wrappers over the low-level APIs), and "high-level" APIs (which make more substantial changes).
130130

131131
As a general rule, the high-level APIs should be built on top of the mid-level APIs, which in turn should be built on top of the low-level APIs (e.g. `web_sys`)
132+
133+
There are exceptions to this, but they have to be carefully decided on a case-by-case basis.
132134

133135
* [ ] Headless browser and/or Node.js tests via `wasm-pack test`.
134136

0 commit comments

Comments
 (0)