Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CounterHandler interface #20

Open
iosonopersia opened this issue Feb 1, 2022 · 0 comments
Open

Update CounterHandler interface #20

iosonopersia opened this issue Feb 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@iosonopersia
Copy link
Collaborator

iosonopersia commented Feb 1, 2022

The CounterHandler interface could be simplified by a lot just by allowing the user to directly pass the entity instance.

For example, instead of:

handler.set_counter(15, 'br', 'se', 28)

it could become:

handler.set_counter(15, snapshotEntityOfBibliographicResource28)

All required information can be easily extracted from the entity instance!

@iosonopersia iosonopersia added the enhancement New feature or request label Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant