Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

feat(adcp): flag required string constraints that Go zero values violate

Open
#271 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go
Domain
tooling

Research direction

Start by reading the schema drift linter rule and its tests, then inspect the schema constraints for required string fields such as minLength and pattern. Add coverage for cases where the empty string is invalid and confirm the linter flags them. The issue leaves the suggested Go shape and any constructor or validation support dependent on field semantics.

Written by the indexing model from the issue text.

Description

claude-triaged enhancement go-first-class sdk

The schema drift linter now catches required fields with omitempty, which fixed AccountSetup.Message in PR #269. It does not yet catch required string fields whose Go zero value is still schema-invalid, such as an upstream minLength: 1 or restrictive pattern.

Add a lint rule that flags required string fields when the schema makes the empty string invalid. Depending on the field semantics, the suggested Go shape may need to become *string or the SDK may need constructor/validation support.

Context: Argus follow-up on PR #269.

Dominant language
Go
Stars
4
Forks
2
Avg merge
1d 16h
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 adcontextprotocol/adcp-go

All issues in adcontextprotocol/adcp-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.