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

improvements to event notifications & docs #2138

Merged
merged 3 commits into from
Apr 21, 2020
Merged

Conversation

opqdonut
Copy link
Contributor

for #2095

Definition of Done / Review checklist

Reviewability

  • link to issue

Documentation

  • documentation at least for config options (i.e. docs folder)

Testing

  • valuable features are integration / browser / acceptance tested automatically

Follow-up

  • no critical TODOs left to implement

by roundtripping events via the db before giving them to process managers
Copy link
Collaborator

@Macroz Macroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change the type, otherwise looks good.

@@ -485,9 +485,10 @@ FROM application_event
ORDER BY id DESC
LIMIT 1;

-- :name add-application-event! :insert
-- :name add-application-event! :? :1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using :returning-execute here. This doesn't seem to be correct.

https://www.hugsql.org/#retrieving-last-inserted-id-or-record

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some weird sql problems and was iterating stuff, this got left over from that I guess

@opqdonut opqdonut merged commit eca87af into master Apr 21, 2020
@opqdonut opqdonut deleted the event-notify-2095 branch April 21, 2020 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants