Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
es-sameroom
@es-sameroom
[Yurii Rashkovskii (yrashk), irc.freenode.net] oops :)
Yurii Rashkovskii
@yrashk
on another note, back in Vancouver!
Maulik Soneji
@mauliksoneji
Hi Yurii, How can we access the headers that we set using graphql- java - annotations.
Yurii Rashkovskii
@yrashk
you mean graphql-java-servlet?
Maulik Soneji
@mauliksoneji
Suppose, I have a header of type: access_token = "test123"
Yurii Rashkovskii
@yrashk
what kind of header? do you mean http header?
Maulik Soneji
@mauliksoneji
Yes, exactly HTTP header
I tried using DataFetchingEnvironment, but it only gives fields that we supply at graphql
not the headers
Yurii Rashkovskii
@yrashk
yeah, it is a little deeper in DataFetchingEnvironment
lemme grab it for you (lets switch to PM, as this is not es4j-related)
Maulik Soneji
@mauliksoneji
ok
Yurii Rashkovskii
@yrashk
I am getting my hands on O’Reilly presentation video!
uploading to youtube!
Armin Pašalić
@Krule
Hi! I have a somewhat newbie question. Since command handler need to know the state of the aggregate anyway, would it a be a bad idea to also snapshot this "prior aggregate state" as metadata in the event it is dispatching?
And I mean... in every event.
Yurii Rashkovskii
@yrashk
@Krule my gut feeling is that it wouldn’t be a great idea
I think there was a similar conversation on the DDD/CQRS mailing list earlier this year
that said, I don’t really use aggregates in my work, and certainly don’t have a “state of aggregate” in lazy event sourcing, so I have limited exposure to this train of thought
Yurii Rashkovskii
@yrashk
thinking if it would make sense to find a new name for es4j
Armin Pašalić
@Krule
@yrashk thank you
Yurii Rashkovskii
@yrashk
I am doing a side-experiment on a self-contained database backend for lazy event sourcing (following the same RFCs as before), in Rust and M/MUMPS (GT.M) to be accessible over the wire.
Code name LESS — Lazy Event Sourcing Server
maybe I’ll swap out Rust for something else — I am very much new to it, but I didn’t want Go or C/C++
showing up on top in google results!
haven’t written an article in a long time
any suggestions on what to cover?
Yurii Rashkovskii
@yrashk
0.4.6 is out!
(waiting for maven central to sync)
Yurii Rashkovskii
@yrashk
working on 0.4.7 update
Yurii Rashkovskii
@yrashk
dropping H2/MVStore backend
Yurii Rashkovskii
@yrashk
lots of stuff getting improved and fixed! exciting days.
this may warrant a 0.5.0 soon
Yurii Rashkovskii
@yrashk
@/all any opinion on proposed options in eventsourcing/es4j#183 ?
Yurii Rashkovskii
@yrashk
I am still trying to devise a much more compact Lazy Event Sourcing core… a lot of interesting ideas
Yurii Rashkovskii
@yrashk
@/all for those interested in chatting about PumpkinDB (see the tweet above: it's a backend for event sourced systems, lazy and not — but with a huge emphasis on indexing as well), you are welcome to https://gitter.im/PumpkinDB/Lobby
@/all also, you might be interested in PumpkinDB/PumpkinDB@9b3c5b3
(btw, es4j is not being abandoned yet — I am usign it in production :) but I do plan to move it over to PumpkinDB backend eventually)
Yurii Rashkovskii
@yrashk
(which means that es4j event/command models will still be usable)
Yurii Rashkovskii
@yrashk
Released the first version of the PumpkinDB backend! http://pumpkindb.org/
es-sameroom
@es-sameroom
[armetiz (armetiz_), irc.freenode.net] hi there
[armetiz (armetiz_), irc.freenode.net] I get a recurring problem using EventSourcing; and I'm wondering if I doing something wrong or If I'm missing pattern
[armetiz (armetiz_), irc.freenode.net] When our aggregate is dealing with a collection; ie: Booking is dealing with a collection of services (VO)
[armetiz (armetiz_), irc.freenode.net] A changed event can occurred; ie: BookingChanged
[armetiz (armetiz_), irc.freenode.net] The BookingChanged is contains the collection of services.