Skip to content

Array-bound types are bound at config-time and do not reflect runtime-defined functions #1574

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

Closed
christopherthielen opened this issue Nov 20, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@christopherthielen
Copy link
Contributor

Types are registered at config-time but can be extended at runtime in order to use runtime injected services. If you register a type and mark it as "array" (either as an "auto" query parameter, or explicitly as array: true), the type is wrapped as an array type at config time. This binds the type's operation to the fn defined at config time.

If you then try to extend the type at runtime, the array wrapped type is still bound to the type's config-time function definition.

See #1572

@christopherthielen christopherthielen self-assigned this Nov 20, 2014
@christopherthielen christopherthielen added this to the 0.2.13 milestone Nov 20, 2014
@christopherthielen
Copy link
Contributor Author

closed via #1572 and e9f8b8a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant