Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Validate config at runtime #283

Closed
wtrocki opened this issue Dec 4, 2019 · 3 comments
Closed

Validate config at runtime #283

wtrocki opened this issue Dec 4, 2019 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@wtrocki
Copy link
Contributor

wtrocki commented Dec 4, 2019

Feature Request

Idea is to use runtime interface checker for js code

https://github.com/gristlabs/ts-interface-checker

Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.

Describe the solution you'd like
Please describe the desired behavior.

Describe alternatives you've considered
Please describe alternative solutions or features you have considered.

@darahayes darahayes added the good first issue Good for newcomers label Jan 15, 2020
@Eunovo
Copy link
Collaborator

Eunovo commented Mar 16, 2020

Please assign this to me

@Eunovo
Copy link
Collaborator

Eunovo commented Mar 17, 2020

@wtrocki To be clear about what you want I'm using an example. You want this config here to be validated before it is used because if this library is used in js project, an invalid config can be passed

@wtrocki
Copy link
Contributor Author

wtrocki commented Mar 18, 2020

I'm more into some basic validation for ApolloConfig that is initalized here:

const config = new ApolloOfflineClientConfig(options);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants