Skip to content

Commit 60463e2

Browse files
authored
Remove empty 'required' section from schema.md (#8900)
There is a typo in the schema.md file in documentation. An empty 'required' section was added right before the 'required' item in the middle of the attributes list. It even appears in the table of content, which might confuse readers, making it look like following attributes might be required while they are not. You can notice the issue there: https://flatbuffers.dev/schema/#attributes. I did check that `mkdocs serve -f mkdocs.yml` does produce the expected output (the same attributes list without that extra empty `required` section in the middle) with my changes.
1 parent b8e3d21 commit 60463e2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

docs/source/schema.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,6 @@ Current understood attributes:
427427
it won't be accessible anymore by newer code. Note that if you deprecate a
428428
field that was previous required, old code may fail to validate new data (when
429429
using the optional verifier).
430-
431-
### `required`
432-
433430
- `required` (on a non-scalar table field): this field must always be set. By
434431
default, fields do not need to be present in the binary. This is desirable, as
435432
it helps with forwards/backwards compatibility, and flexibility of data

0 commit comments

Comments
 (0)