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

Add a type to handle string or string arr returns #12

Merged

Conversation

kpandya3
Copy link
Contributor

The API generally returns a String for Robots, Keywords, etc. except for when there are iframes on the webpage, at which point, it returns an array of strings. This change introduces new type to handle such cases into a string[]

note: This is a breaking change, thus marked v2

@kpandya3
Copy link
Contributor Author

Fixed #9

@kpandya3
Copy link
Contributor Author

@rafaelsideguide let me know if there are any other fields that can be an array of strings instead of string, and I can assign the same type to them

@rafaelsideguide rafaelsideguide merged commit c464988 into mendableai:main Dec 16, 2024
@kpandya3 kpandya3 deleted the kpandya/fix-string-arr-return branch December 16, 2024 18:15
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