Guest as plain functions: no GuestService, no global Guest module, the oRPC module imported once #424
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#425 Static feature modules, a root options module and token overrides in createApp
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#424
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#421
What to build
Guest code becomes plain functions, and the global module that existed only to share a stateless service goes away.
common/, named after Guest, holds the occupant types, the occupant of a Guest (its hash) and the comparison of two occupants.GuestServiceand its global module are deleted.Players see no change: arriving in a Room, taking a Seat and claiming a Guest behave as before (ADR 0042, 0035).
Seam: S2, the Room through its services; S1, the wire; S3, the lint.
Acceptance criteria
GuestServiceand no Guest module remain. The Guest file imports no framework, and the lint test says so.mentioned in issue #425
marked this issue as related to #421
marked this issue as related to #422
marked this issue as related to #425
mentioned in commit
23e36eb02bmentioned in merge request !536
mentioned in commit
2d993c3fd5