Skip to content

Add GraphQL Support#1

Merged
TurtIeSocks merged 2 commits into
mainfrom
graphql
Mar 10, 2021
Merged

Add GraphQL Support#1
TurtIeSocks merged 2 commits into
mainfrom
graphql

Conversation

@TurtIeSocks

Copy link
Copy Markdown
Collaborator
  • Remove Fetch requests
  • Add graphql support
  • React go brrr

- Remove Fetch requests
- Add graphql support
- react go brrr
@TurtIeSocks
TurtIeSocks merged commit 543042b into main Mar 10, 2021
@TurtIeSocks
TurtIeSocks deleted the graphql branch March 30, 2021 00:02
jfberry added a commit to jfberry/ReactMap that referenced this pull request Jul 20, 2026
The endpoint (in-memory) getAll paths filter rows with filterRTree, which
returns true for empty area inputs — so unlike the SQL path's getAreaSql it did
NOT deny a user who has no assigned areas while strictAreaRestrictions is on and
restrictions are configured. Such a user received every fort in the viewport
(access-control bypass). Add areaRestrictionsDenyAll (mirroring getAreaSql's
strict-deny and empty-consolidated deny) and short-circuit each fort model's
endpoint branch to [] before accepting rows.

Addresses Mygod review comment WatWowMap#1 (P1).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant