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

Use the creator docs to generate type information #777

Closed
wants to merge 4 commits into from

Conversation

JohnnyMorganz
Copy link
Owner

@JohnnyMorganz JohnnyMorganz commented Sep 20, 2024

Uses the creator-docs (https://github.com/Roblox/creator-docs) as the source of truth for type information generation

Closes #768
Closes #760

@Ketasaja
Copy link
Contributor

It helps in some cases (particularly data types), but makes types slightly worse in quite a few other cases.

I'm fine with contributing to Creator Docs, but I don't want worse types. If there are cases where Creator Docs doesn't support better types, like optionals, this would be more annoying. Changing some class fields is cumbersome too.

@JohnnyMorganz
Copy link
Owner Author

JohnnyMorganz commented Sep 27, 2024

The creator docs don't support type corrections, so this is unfortunately not worth it for now.

Maybe we can just read the DataModel type information from it.

@JohnnyMorganz JohnnyMorganz deleted the type-generation-creator-docs branch September 27, 2024 08:59
@JohnnyMorganz JohnnyMorganz restored the type-generation-creator-docs branch September 27, 2024 08:59
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.

BrickColor.Random() doesn't exist in roblox types FuzzyEq method is missing from the CFrame data type
2 participants