magento / magento/community-features

Unable to add extension_attributes for ProductCustomOptionValuesInterface

Open
#30 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API devguild moved from magento2 Priority: P2
Dominant language
No language data
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Preconditions

I would love to be able be able to add extension attributes to Magento\Catalog\Api\Data\ProductCustomOptionValueInterface
however it does not extend Magento\Framework\Api\ExtensibleDataInterface

Many other related interfaces allow this. Some examples:

  • ProductInterface
  • ProductCustomOptionInterface
  • ProductCustomOptionTypeInterface
  • etc

Is there a reason why this does not exist on ProductCustomOptionValueInterface?

Original Report: https://github.com/magento/magento2/issues/8675 by @danbuchal

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing Magento\Catalog\Api\Data\ProductCustomOptionValueInterface with the related interfaces named in the issue and review Magento\Framework\Api\ExtensibleDataInterface. Determine the compatibility impact of supporting extension attributes; done means the requested interface behavior is defined and covered consistently with the related interfaces.

Written by the indexing model from the issue text.

Assessment

Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.