Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
decisions: binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Raab committed Dec 17, 2021
1 parent 7e2612f commit 6522f71
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/decisions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ section here.
## In Discussion

- [simplify API](simplify_api.md)
- [Binary](binary.md)
- [keyString() return value](key_string_return_value.md)
- [Global Plugins](global_plugins.md) (@mpranj)
- [Error Semantics](error_semantics.md) (API)
Expand Down
35 changes: 35 additions & 0 deletions doc/decisions/binary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Binary

## Problem

binary

- is the only metadata that allows more values (instead of making the validation stricter)
- is the only API that modifies metadata

## Constraints

- simplify API

## Assumptions

binary values are a rarely used feature

## Considered Alternatives

- flag for indicating if a value is binary

## Decision

- make keys binary per default
- all current types are not binary, so type = string is the way to indicate a string doesn't
- contain null bytes
- is not null

## Rationale

## Implications

## Related Decisions

## Notes

0 comments on commit 6522f71

Please sign in to comment.