Commit 2d643f8
authored
docs: fix broken anchors and stale Doctrine annotation references (#799)
Doctrine annotation support was dropped in #677, and the relevant
section headings were subsequently renamed from "annotation"/"annotations"
to "attribute"/"attributes". A handful of in-repo links and wording
were missed in that rename:
- annotations-reference.md #[Type] section: `#input-annotation` /
`#factory-annotation` → `#input` / `#factory` (sections are now
`## #[Input]` and `## #[Factory]`).
- authentication-authorization.mdx + fine-grained-security.mdx:
`#logged-and-right-annotations` → `#logged-and-right-attributes`
(section is `## #[Logged]` and `#[Right]` attributes`).
- queries.mdx "About attributes": the Doctrine example was shown as
`#[Query]`, which is the new-style syntax. Corrected to `@Query` and
rephrased the line so the old-vs-new distinction actually reads.
- annotations-reference.md intro: reworded to reflect that only the
PHP 8 attribute format exists now; kept the link to the migration
guide since existing users still need it.
- annotations-reference.md #[Assertion]: Type column said `annotation`
while the description said `attributes` — aligned to `attribute`.
Intentionally left alone: CHANGELOG.md (historical), migrating.md
(historical migration guide), doctrine-annotations-attributes.mdx
(migration guide, still useful), and the `annotations` parameter on
#[SourceField] / #[MagicField] (actual PHP parameter name in the
source). PHP namespace references (TheCodingMachine\GraphQLite\
Annotations\*) are real symbol names and not stale.1 parent 5070ef9 commit 2d643f8
4 files changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments