Skip to content
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

Can fallback data types have fallbacks? #239

Open
clbarnes opened this issue May 10, 2023 · 2 comments
Open

Can fallback data types have fallbacks? #239

clbarnes opened this issue May 10, 2023 · 2 comments

Comments

@clbarnes
Copy link
Contributor

The spec currently allows fallback data types to either be core or extension data types, but disallows the "fallback" field in an extension data type object. If fallbacks are not limited to core types, why not allow further fallbacks?

@jbms
Copy link
Contributor

jbms commented May 10, 2023

The spec does say that fallback may be a list of data types:

if provided, its value must be one or a list of the data type identifiers

Note though, that in regard to fallback data types, there is an outstanding issue of how to deal with the fill value:
#236 (comment)

@clbarnes
Copy link
Contributor Author

clbarnes commented May 10, 2023

Ah, my fault for missing that! I suppose it's just an API decision of a single recursive approach or two very similar APIs.

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

No branches or pull requests

2 participants