Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

GraphQL entity restore endpoint #44

Closed
dtaimanov opened this issue Aug 4, 2021 · 1 comment
Closed

GraphQL entity restore endpoint #44

dtaimanov opened this issue Aug 4, 2021 · 1 comment
Assignees

Comments

@dtaimanov
Copy link
Contributor

dtaimanov commented Aug 4, 2021

Task

Need to implement endpoint, which you request to restore removed entities.

Implementation

  1. Implementation comitted to https://github.com/jmix-projects/jmix-datatools-graphql
  2. 1.1.0-SNAPSHOT version uploaded to https://nexus.jmix.io
  3. Functional test has been added: io.jmix.datatools.graphql.DatatoolsGraphqlTest#Entity restore endpoint works

Usage:

Add to your build.gradle next dependencies:

implementation 'io.jmix.graphql:jmix-graphql-starter'
implementation 'io.jmix.datatools:jmix-datatools-starter'
implementation "io.jmix.datatools:jmix-datatools-graphql-starter:1.1.0-SNAPSHOT"

To restore entities by their metaclass name and id list use mutation restoreEntities(className: String!, ids: [String]!):Int

@dtaimanov dtaimanov added this to the 1.1.0 milestone Aug 4, 2021
@dtaimanov dtaimanov self-assigned this Aug 4, 2021
dtaimanov added a commit that referenced this issue Aug 4, 2021
dtaimanov added a commit to jmix-projects/jmix-bom that referenced this issue Aug 4, 2021
dtaimanov added a commit to jmix-projects/jmix-all that referenced this issue Aug 4, 2021
dtaimanov added a commit to jmix-projects/jmix-all that referenced this issue Sep 14, 2021
dtaimanov added a commit to jmix-projects/jmix-bom that referenced this issue Sep 14, 2021
dtaimanov added a commit to jmix-projects/jmix-datatools-graphql that referenced this issue Sep 14, 2021
dtaimanov added a commit to jmix-projects/jmix-datatools-graphql that referenced this issue Sep 14, 2021
dtaimanov added a commit to jmix-projects/jmix-datatools-graphql that referenced this issue Sep 14, 2021
@owlet1997 owlet1997 reopened this Nov 26, 2021
@owlet1997
Copy link

Functional tests for each REST method should be added

@knstvk knstvk removed this from the 1.1.0 milestone Nov 29, 2021
dtaimanov added a commit to jmix-projects/jmix-datatools-graphql that referenced this issue Dec 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants