Skip to content

ItemInput should be split up #4

Description

@myluki2000

The GraphQL input type ItemInput (located in content_service mutation.graphqls) should be split up into CreateItemInput and UpdateItemInput

Reasoning:
Currently, ItemInput is used both for updating and for creating items. It has the field id, which should be unset when creating an item (because the ID is assigned by the database), and set to the ID of the item to update when updating. This is different behavior to the rest of the MEITREX systerm, where Create and Update are always strictly separated.

IMPORTANT NOTE

ItemInput is used all over the place, including in the Gateway! When working on this issue, MAKE SURE you have checked every instance where ItemInput is used, otherwise things may break

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions