question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for resolvers and handlers

See original GitHub issue

react-docgen proper allows for custom functions that modify or enhance the default output.

This is super useful for detecting things like spread applying multiple prop type trees, etc since docgen doesn’t handle that natively.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Bobgycommented, Jan 15, 2019

Hi, I want to use https://github.com/siddharthkp/react-docgen-external-proptypes-handler with @storybook/addon-info which uses babel-plugin-react-docgen. So I need to be able to use handlers here. Not familiar with any of things here, so I couldn’t help with PR or anything, just stating how it could be useful.

0reactions
danielduancommented, Jul 13, 2018

@carrickjason I haven’t seen any demand for that feature. If you’d like to take a shot at creating a PR to add support for custom resolvers, I’d be more than happy to take a look and get it merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the difference between a Handler, a Resolver and an ...
a DispatcherServlet that dispatches requests to handlers, with configurable handler mappings, view resolution, locale and theme resolution as ...
Read more >
Resolvers - Apollo GraphQL Docs
Resolvers can be asynchronous and perform async actions, such as fetching from a database or back-end API. To support this, a resolver can...
Read more >
Improve Your Spring MVC Argument Resolvers Using Filters
Improve Your Spring MVC Argument Resolvers Using Filters ... Method argument resolvers are a great tool to keep your Spring application clean.
Read more >
JavaScript resolvers overview - AWS AppSync
A pipeline resolver is composed of code that defines a request and response handler and a list of functions. Each function has a...
Read more >
WebMvcConfigurer (Spring Framework 6.0.3 API)
Add resolvers to support custom controller method argument types. default void. addCorsMappings(CorsRegistry registry). Configure "global" cross-origin request ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found