Microfiber options (especially removeUnusedTypes) need to be exposed
See original GitHub issueI just spent way too long hunting down a parameter that caused many types in my schema to be hidden, and which was not accessible via config.yaml
. I had to change these lines in src/themes/default/data/index.js
to display all the types:
let opts
opts = {
removeUnusedTypes: false
}
const introspectionManipulator = new IntrospectionManipulator(
introspectionResponse, opts
)
This option should be in the top-level config.yaml
instead of inaccessible.
This was especially frustrating because the documentation instructs the user to set "documented": true
to unhide types, but that does not affect the ones dropped by this hidden setting.
The setting also mistakenly considers types unused if they implement an interface which is referenced, but are not referenced directly.
Thanks for sharing the package otherwise. It has been very helpful.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Microfiber Cloths: Green Cleaning or Plastic Pollution?
We can still use microfiber to effectively clean viruses and bacteria from surfaces. They are a more sustainable option than paper towels or...
Read more >Microfiber - an overview | ScienceDirect Topics
While traditional round fibres smear the dirt, the microfibre removes it. Microfibre cloths were originally created to clean high-precision lenses. The ...
Read more >5 BEST Microfiber Car Cloths For Car Detailing
4. Zwipes Professional Microfiber Waffle Drying Towel · 4. Zwipes Professional Microfiber Waffle Drying Towel · 8 out of 10.
Read more >What are the Pros and Cons of Microfiber Upholstery Fabric?
The pros and cons of microfiber upholstery fabric generally have to do with how the fabric holds up to stains, how easy it...
Read more >How to Clean & Care for Microfiber Cloths!
Microfiber is one of the very best cleaning tools you'll ever come across, and if cared for properly, they can last for up...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah yes, you’re only referencing the interface type and not the implementations…this is interesting.
Yeah, I think now that what I should do primarily is to update
microfiber
to consider types that implement an interface that is used as something to keep around. Let me check that out.Excellent, thank you 😃