Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Fire hook on specific FIELD/s changed rather than any field #64

Open
armando-herastang opened this issue Jun 10, 2020 · 1 comment
Open

Comments

@armando-herastang
Copy link

I´ll start by asking. Is it possible? I couldn't´t found a way to do that. I´ll explain what:

I have a model, say A with fields a, b, c. An instance of this model will be modified at some point. I would like to be able to set up a hook so it is only fired when field a or b are modified.

Is it possible to accomplish using current version? if not, it would be a good enhancement.

Greetings, and keep up the good work.

@avelis
Copy link
Contributor

avelis commented Jun 10, 2020

@armando-herastang You would have to override the hook delivery method to add this logic. So currently library in its current form does not have this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants