Skip to content

Request: add active flag support for ConstructorItem #170

@ahmedmaazin

Description

@ahmedmaazin

Add active flag support

  • Introduce a new active boolean property in ConstructorItem.
  • Ideally a new signature when initialising the ConstructorItem
  • The default could be true.

E.g.

   public ConstructorItem(String id, String name, Boolean active) throws IllegalArgumentException {
        if (id == null) {
            throw new IllegalArgumentException("id is required");
        }

        this.id = id;
        this.name = name;
        this.active = active;
        this.suggestedScore = null;
        this.keywords = null;
        this.url = null;
        this.imageUrl = null;
        this.description = null;
        this.facets = null;
        this.metadata = null;
        this.groupIds = null;
    }

p.s. I am raising this issue because I couldn't verify if the active is by default true for createOrReplaceItems endpoint. I also couldn't not find in the sdk the logic for it. Lastly, I tried to contribute and I could not push my branch into this repo :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions