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

Worked on generating proper link #63

Open
wants to merge 6 commits into
base: next
Choose a base branch
from

Conversation

ChakrabortySubhrajyoti
Copy link
Contributor

added asPath and baseUrl to generate proper URL.

@ChakrabortySubhrajyoti ChakrabortySubhrajyoti changed the base branch from main to next October 27, 2022 09:21
@@ -386,7 +386,8 @@ function getSchemaShape(moduleJson = {}, json = {}, schemas = {}, name = '', opt
}
else {
// grab the type for the non-array schema, so we get the link for free
let type = getSchemaType(module, json.items, schemas, {code: options.code, link: options.link, title: options.title})
// added asPath and baseUrl to generate proper URL
Copy link
Contributor

Choose a reason for hiding this comment

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

What does this have to do with asPath and baseUrl?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you're saying those get passed in and used by getSchemaType because they are part of the options hash, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes .

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.

None yet

2 participants