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

(executor): Support Create and CreateOrUpdate requests #8

Merged
merged 5 commits into from
Nov 29, 2022

Conversation

dbulaja98
Copy link
Collaborator

No description provided.

import zio.json.ast.Json
import zio.json.{DeriveJsonDecoder, JsonDecoder, jsonField}

final case class ElasticCreateResponse(
Copy link
Member

Choose a reason for hiding this comment

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

I would say this is ElasticUpsertResponse.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For now, it is only used for create.

@drmarjanovic drmarjanovic changed the title Add create and createOrUpdate execute methods (api): Support create and upsert document requests Nov 29, 2022
@drmarjanovic drmarjanovic changed the title (api): Support create and upsert document requests (executor): Support Create and CreateOrUpdate requests Nov 29, 2022
@drmarjanovic drmarjanovic merged commit 703c56f into main Nov 29, 2022
@drmarjanovic drmarjanovic deleted the executor-create-and-update branch November 29, 2022 12:36
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.

4 participants