horizon
horizon copied to clipboard
Plugins
This is a work in progress, but eclipses #760 - this is a fork from that branch to my personal repo.
Several big things remain to do:
- Replace the CLI with one based on Express
- Integrate auth plugins
- Lots of tests
- A complete changelog
The Horizon server has been completely revamped, so any users who directly embedded the server will need non-trivial code changes. The client is relatively unchanged, it was a goal to make it as painless as possible of an upgrade in the frontend. Still, a few backwards-incompatibilities surfaced:
- argument validation is now performed server-side, so errors are asynchronous
- batch write errors are no longer an instance of
Error
, but an{error: ''}
object - there are no more ordering constraints for chaining terms
- no
state: synced
documents - the
unconnected
initial horizon state is gone, replaced bydisconnected
- fewer restrictions on
above
/below
/order
- you can now specify the same key infindAll
without an error (I doubt there's much of a use case for this) - collections cannot start with 'hz_'
@Tryneus Are you still commited to completing this refactoring process? Either way, could you please give a quick heads up re status so this work can be picked up by someone else otherwise?
Whats the status on this?
Hi everyone, i'm interested in trying this version of horizon. I have forked @Tryneus repos and build the grey_plugins branch which compile ok.
I understand it seems to be using CircleCi for continuous integration. I would be interested in some pointers on how to build and publish the package including client/server together.
If its somewhat complicated i guess we could publish client and server separately.
Thank you very much for your time
William