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

Projections API, missing functionality #40

Open
andersstorhaug opened this issue Jun 10, 2020 · 3 comments
Open

Projections API, missing functionality #40

andersstorhaug opened this issue Jun 10, 2020 · 3 comments

Comments

@andersstorhaug
Copy link

andersstorhaug commented Jun 10, 2020

Describe the bug

The v20.6.0 projection management API does not expose the ability to:

  • Create a projection with emitEnabled
  • Retrieve the JS query of a projection

To Reproduce N/A

Expected behavior N/A

Actual behavior N/A

Config/Logs/Screenshots N/A

EventStore details

  • EventStore server version: v20.6.0
  • Operating system: Win 10 x64
  • EventStore client version (if applicable): v20.6.0

Additional context

A workaround for emitEnabled is to update immediately following creation:

await _client.CreateContinuousAsync(projectionName, sourceText);
await _client.UpdateAsync(projectionName, sourceText, emitEnabled: true);
@dystopiandev
Copy link

No activity since?
I'm automating projections management and this is the blocker.

@hayley-jean
Copy link
Member

@dystopiandev at the moment we're focusing on the streams and subscriptions APIs, so this isn't being actively worked on right now.

If the workaround provided in the issue description doesn't work for you, then you could also make use of the HTTP API which is documented here. v20+ uses the same HTTP API for projections as v5.

@ylorph
Copy link
Contributor

ylorph commented Jul 20, 2022

emitEnabled & trackEmittedStream : blocked by server functionality , and should be unblocked with 22.6 server version.

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

No branches or pull requests

5 participants