Giter Club home page Giter Club logo

eventstore.client.fsharp's Introduction

EventStore.Client F# API

This project currently targets EventStore 3.0.

This is a project that aims to bring a smooth F# API to your codes.

Currently, has almost APIs mapped out. Documentation is in the form of XML-docs that accompanies the assembly.

v4.0 is not API compatibible with v3.x, but otherwise works well with ES v3.x.

API

Usage open EventStore.Client. If using Repo and Aggregate, you should use the nuget Newtonsoft.Json.FSharp to get access to Serialisation.serialise and Serialisation.deserialise, which are the two serialisation functions that work well.

Global in EventStore.Client namespace

  • EventVersion
  • ExpectedVersionUnion
  • ResolveLinksStrategy
  • Connection - a wrapper interface that this nuget implements on top of EventStore.Client.IEventStoreConnection which allows for easy mocking and stubbing against the more precise F# types.

ConnBuilder

Wrapper F# API for the connection settings builder in the event store client API.

Types (auto opened)

F# types for working with EventStore. Complete with reflection to get around the private constructors.

Conn

Module with methods for working with Connection.

Tx

Module with methods for working with EventStoreTransaction.

Events

Module that is a helper module for writing sane data about events to the streams.

Aggregate (qualified)

Module that is a helper module for working with transducers in the form of Aggregates from F#.

Repo

Module that is a helper module for easily loading and saving event-sourced aggregates.

Community

Please see the issue tracker on this github - and use it to ask questions. Anyone is welcome to answer.

Roadmap

  • Release for 3.1.0 together with helper CQRS lib (moving higher-level patterns there)
  • Snapshot helpers for Aggregates

eventstore.client.fsharp's People

Contributors

aprooks avatar haf avatar sphavens avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.