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

Update gRPC implementation to evitaDB version 2024.12 #10

Open
novoj opened this issue Nov 10, 2024 · 0 comments
Open

Update gRPC implementation to evitaDB version 2024.12 #10

novoj opened this issue Nov 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@novoj
Copy link
Contributor

novoj commented Nov 10, 2024

In 2024.12 there is new functionality related to "soft-removals" - see: FgForrest/evitaDB#677

Compare your original version of proto files and current version:

  • GrpcAttributeMutations.proto
  • GrpcCatalogSchemaMutations.proto
  • GrpcCatalogSchemaMutation.proto
  • GrpcEntitySchemaMutation.proto
  • GrpcEntitySchemaMutations.proto
  • GrpcEntitySchema.proto
  • GrpcEnums.proto

And apply appropriate changes.

There is new data mutation: io.evitadb.api.requestResponse.data.mutation.scope.SetEntityScopeMutation

Also look for new methods in EvitaSessionContract: archiveEntity and restoreEntity.

Contracts of schema were altered (compare your version with originals):

  • io.evitadb.api.requestResponse.schema.EntitySchemaContract
  • io.evitadb.api.requestResponse.schema.AttributeSchemaContract
  • io.evitadb.api.requestResponse.schema.SortableAttributeCompoundSchemaContract
  • io.evitadb.api.requestResponse.schema.ReferenceSchemaContract

There is also new method io.evitadb.api.requestResponse.data.EntityContract#getScope.

@novoj novoj added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants