FHIR / FHIR/fhir-codegen

Make "Reference" type generic?

Open
#70 6 comments 0 reactions 0 assignees View on GitHub
enhancement typescript
Dominant language
TypeScript
Stars
154
Forks
57
Avg merge
1m
Merged PRs (30d)
1

Description

Would it be possible to make the TypeScript version of Reference generic? It is very difficult to enforce constraints without this, and TypeScript supports complex "A | B | C | D"-style generics.

We are trying to strictly enforce all manner of constraints in our information models for both IG publishing and software development purposes, and such refinements would be very welcome!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.