hashicorp / hashicorp/mog

special case time and duration conversions

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Consider adding special case handling for `time.Duration` and `time.Time` conversions to/from various protobuf related equivalent types so there is no need for helper conversion functions.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Go code-generation entry points that handle conversions between API and core types. Trace how time.Duration and time.Time are currently converted, then identify the protobuf-equivalent types involved. Done means generated conversions cover these cases without requiring helper conversion functions; the issue provides no named files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.