Skip to content

Instantly share code, notes, and snippets.

@DominikMostek
Created July 18, 2022 15:49
Show Gist options
  • Save DominikMostek/48742cbea364432e80327ab46071f44d to your computer and use it in GitHub Desktop.
Save DominikMostek/48742cbea364432e80327ab46071f44d to your computer and use it in GitHub Desktop.
interface Entity {
Collection data();
}
interface TraversableEntity extends Entity {
TraversableEntity traverseTo(Property prop);
}
interface SingleRecord extends TraversableEntity {
Identifier id();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment