Skip to content

Remove entity guessing and add quick access with primary keys

Compare
Choose a tag to compare
@huntfx huntfx released this 30 Mar 15:11
· 95 commits to master since this release
  • Under specific circumstances, the entity type can be called with a primary key.
    Currently this support is just for User, with the syntax user = session.User(username).
  • Removed entity keyword guessing as it was a bit hacky and definitely not futureproofed.
    An example of this was passing in a FileComponent, where it would evaluate to file_component=FileComponent