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

Generate contract types, not just scope names

Open
#299 0 comments 0 reactions 1 assignee View on GitHub

@vishnuv688 is already working on this.

Since Aug 12, 2026.

Assessment

This issue has not been assessed yet.

Description

capture-architecture enhancement

Part of #278

gen_contract.py already generates scope names and the contract
version into _contract.py with a CI drift guard. frames.py and types.py
still hand-mirror about 308 lines of shared's field-level types, which is a drift
class waiting to happen and would triple with Java.

Acceptance criteria

Python payload types are generated from one schema. The
drift guard covers fields, not only scope names. frames.py shrinks to builders
over generated types.

Size: M. Depends on B1.

Dominant language
TypeScript
Stars
10
Forks
2
Avg merge
1d 11h
Merged PRs (30d)
21

Contributor guide

Open the contributing guide

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 webdriverio/devtools

All issues in webdriverio/devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.