-
Notifications
You must be signed in to change notification settings - Fork 327
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
Make the API more extensible #63
Comments
@mjburghoffer You have a lot of good recommendations and I do realize that some sort of refactors need to be done. I have mentioned it in the following post. Just need to find two or three days to do it. |
@stevehu thanks for responding so quickly! Let me know if you'd like me to make a PR. |
Yes. Please. Just make sure that we keep the JsonSchemaFactory for now until we have a major release. There are a lot of people using this library and we cannot force them to make change. Thanks a lot for your help. |
Any timeframe for this issue to be resolved, also referenced issue stackOverflowError loading schema file #96. |
I think the private constructor issue has been resolved already. For the circular dependency issue, we need more time to refactor it. I have already done that for openapi-parser but his library has not been done. |
I think most of the issues mentioned have been resolved. Closing it and will open individual issues if there is still a gap. |
I am trying to use this library, and have run into the following design issues:
JsonSchemaFactory
is a non-final class, but its only constructor is privateJsonSchema
is a non-final class, but its useful constructors are all package privateJsonSchemaFactory.Builder
requires an instance ofJsonSchemaFactory
to instantiate - it seems silly to need to create an instance of a factory to create the builder of a new factory just to throw away the first initial factory.In general, this library is great, but ultimately is unusable except for exactly how it was programmed. A little bit of extenisbility would go a long way.
The text was updated successfully, but these errors were encountered: