Better explain quering M2A fields

Open
#253 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
documentation

Research direction

Start with the Many-to-Any fields section at the linked Directus documentation URL and review the ?fields=m2a-field:collection-scope.field example. Explain what collection-scope means and how it relates to m2a-field:; the section is done when a reader can understand and use the query pattern without the reported confusion.

Written by the indexing model from the issue text.

Description

In https://directus.io/docs/guides/connect/query-parameters#many-to-any-fields
the explanation on fields query parameter is
?fields=m2a-field:collection-scope.field

it's not clear what collection-scope is and how does it relate to m2a-field: part

discussion
https://discord.com/channels/725371605378924594/741317677397704757/1351957245495214210

Dominant language
TypeScript
Stars
24
Forks
90
Avg merge
3d 22h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from directus/docs

All issues in directus/docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.