Skip to content

[falcor] delete a book in a world #14

Description

@joshdmiller

Summary

Create a falcor route to delete a new book within a world.

Depends on #11, #12.

See also #8.

Authentication & Authorization

The current user must have write or owner permissions for the world in which the book is to be deleted.

Spec

Route (call): worldsById[id: string].books.remove

Function Signature

function (  id : string ) : JSONGraphEnvelope

MongoDB

Archive the document per #13.

Neo4j

Archive the node per #12 and archive the relationship between the world and the book per #11.

Return Paths

Return an invalidated path for each book in worldsById[key: string].books (per #9) that have the same or greater index values as this book had.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions