Skip to content

Support subclasses of core types#248

Merged
piercefreeman merged 1 commit intomainfrom
feature/support-subclasses-of-core-types
Apr 7, 2026
Merged

Support subclasses of core types#248
piercefreeman merged 1 commit intomainfrom
feature/support-subclasses-of-core-types

Conversation

@piercefreeman
Copy link
Copy Markdown
Owner

@piercefreeman piercefreeman commented Apr 6, 2026

The mountaineer equivalent of piercefreeman/iceaxe#104. This allows clients to pass through custom primitive-types (like CustomUUID) that allows for more structured typehinting.

For now we generate the parent-level underlying type in the frontend (ie. string instead of actually CustomUUID). We could generate typescript type definitions that mirror the specificity of the server components, but this would mean additional work for clients to pass-in client side values (some explicit type cast or otherwise). Since most server values are just used as-is we prefer to leave this ambiguity.

@piercefreeman piercefreeman merged commit e0454a5 into main Apr 7, 2026
22 checks passed
@piercefreeman piercefreeman deleted the feature/support-subclasses-of-core-types branch April 7, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant