Skip to content
This repository was archived by the owner on Aug 18, 2019. It is now read-only.

Enhancement: Auto-register counter entities with Objectify #23

@sappenin

Description

@sappenin

After having read #20, it might be possible to auto-register appengine-counter entities with Objectify.

It seems like there's only ever a single ObjectifyFactory floating around which is typically access in a static fashion, so it might make sense to add another constructor to ShardedCounterServiceImpl that requires an ObjectifyFactory. That way, when you construct the ShardedCounterService (or when your DI system does) appengine-counter could auto-register its entities.

This needs to be experimented with first to see if there are any edge cases not being considered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions