-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A bunch of required types are private #166
Comments
Yeah, agreed. This is sort of related to #165. I'll look into cleaning up some of the visibility on these ASAP. |
Ah if the intent is that these be public I'm also happy to do that while in process of adding FFI! I didn't want to break things otherwise. |
Honestly some of these are hold overs from very early versions of |
This PR addresses some issues brought up in #166. The general updates are as follows: - `CalendarDateLike` removed in favor of using `IsoDate` directly. - `CalendarFieldsType` removed - `GetTemporalCalendar` removed - `DateDuration` and `TimeDuration` exported from root with the other builtins - `TzProvider` renamed to `TimeZoneProvider`
While working on FFI (#163) I discovered that a bunch of types, like
CalendarDateLike
andTzProvider
andTimeDuration
are all private but exposed in various APIs.This makes it tricky to build FFI wrappers around them, and probably isn't great API design. These should probably be public, with
TzProvider
potentially being sealed to prevent external implementations (if that's the goal).The text was updated successfully, but these errors were encountered: