add compatibility checks for protobuf oneof fields

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

No files or tests are named. Start by locating the existing schema compatibility checks and the entry point that processes oneof fields, then read how related field changes are classified. Done means the three requested oneof compatibility rules are enforced by coverage in the relevant tests.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
There are no compatibility checks implemented for oneof fields.

Describe the solution you'd like
Don't allow removal of fields from oneOf
Don't allow adding existing fields to oneOf
Single existing field can be moved to new oneOf
.

Dominant language
Go
Stars
237
Forks
42
PR merge metrics
No merged PRs in 30d

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.

More from raystack/stencil

All issues in raystack/stencil

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.