Skip to content

Commit 32d84d8

Browse files
authored
docs: document known rough edges (#609)
Start keeping a log of rough edges we've discovered post v1.0.0, so that they're discoverable (along with their workarounds), and so that we can fix them in v2.
1 parent 72afbc9 commit 32d84d8

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

docs/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ protocol.
3838
# TroubleShooting
3939

4040
See [troubleshooting.md](troubleshooting.md) for a troubleshooting guide.
41+
42+
# Rough edges
43+
44+
See [rough_edges.md](rough_edges.md) for a list of rough edges or API
45+
oversights that can't be addressed due to our compatibility promise. We'll
46+
revisit these if/when we move to a v2 of the SDK.

docs/rough_edges.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- Autogenerated by weave; DO NOT EDIT -->
2+
# Rough edges: API decisions to reconsider for v2
3+
4+
This file collects a list of API oversights or rough edges that we've uncovered
5+
post v1.0.0, along with their current workarounds. These issues can't be
6+
addressed without breaking backward compatibility, but we'll revisit them for
7+
v2.
8+
9+
- `EventStore.Open` is unnecessary. This was an artifact of an earlier version
10+
of the SDK where event persistence and delivery were combined.
11+
12+
**Workaround**: `Open` may be implemented as a no-op.

internal/docs/README.src.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ protocol.
3737
# TroubleShooting
3838

3939
See [troubleshooting.md](troubleshooting.md) for a troubleshooting guide.
40+
41+
# Rough edges
42+
43+
See [rough_edges.md](rough_edges.md) for a list of rough edges or API
44+
oversights that can't be addressed due to our compatibility promise. We'll
45+
revisit these if/when we move to a v2 of the SDK.

internal/docs/doc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
//go:generate weave -o ../../docs/client.md ./client.src.md
99
//go:generate weave -o ../../docs/server.md ./server.src.md
1010
//go:generate weave -o ../../docs/troubleshooting.md ./troubleshooting.src.md
11+
//go:generate weave -o ../../docs/rough_edges.md ./rough_edges.src.md
1112

1213
// The doc package generates the documentation at /doc, via go:generate.
1314
//

internal/docs/rough_edges.src.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Rough edges: API decisions to reconsider for v2
2+
3+
This file collects a list of API oversights or rough edges that we've uncovered
4+
post v1.0.0, along with their current workarounds. These issues can't be
5+
addressed without breaking backward compatibility, but we'll revisit them for
6+
v2.
7+
8+
- `EventStore.Open` is unnecessary. This was an artifact of an earlier version
9+
of the SDK where event persistence and delivery were combined.
10+
11+
**Workaround**: `Open` may be implemented as a no-op.

0 commit comments

Comments
 (0)