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

React Rewrite: A couple minor bug fixes #436

Merged
merged 5 commits into from
Mar 14, 2018

Conversation

MrBlenny
Copy link
Contributor

  • SelectOnClick has been fixed. This was crashing.
  • When OpenAPIParser was dereferencing a schema and the ref was not found, it would return undefined. This would crash other segments of the code such as if (schema.allOf === undefined) {

@MrBlenny MrBlenny changed the title A couple minor bug fixes React Rewrite: A couple minor bug fixes Mar 14, 2018
Copy link
Member

@RomanHotsiy RomanHotsiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for PR!

I made a commit on top of your PR to fix demo's webpack config because it was broken by changing import statement.

This looks good for me, could you just plz remove space.
Thanks!

demo/index.tsx Outdated
@@ -24,7 +24,7 @@ const DEFAULT_SPEC = 'openapi.yaml';
class DemoApp extends React.Component<
{},
{ specUrl: string; dropdownOpen: boolean; cors: boolean }
> {
> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please remove space here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@RomanHotsiy RomanHotsiy merged commit 5dc21af into Redocly:react-rewrite Mar 14, 2018
@RomanHotsiy
Copy link
Member

Nice 👍
Thanks again!

@RomanHotsiy
Copy link
Member

fyi, you still don't appear on Contributors page but you will once I merge this branch into master. GitHub doesn't count contributions to non-default branches.

@MrBlenny
Copy link
Contributor Author

All good. Would be wonderful if you could publish another alpha to npm :)

@RomanHotsiy
Copy link
Member

released

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

Successfully merging this pull request may close these issues.

2 participants