-
Notifications
You must be signed in to change notification settings - Fork 59
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
Provider not updating after schema changes or new schema url #84
Comments
Hmm... interesting... Do you experience the same behavior when do not use On TP side we do caching using schemaUrl... and it should work correctly if IDE does can to TP after each schemaUrl change... |
@sergey-tihon Yeah, I get the same behavior when I put the URL directly into the type definition. Are you not able to reproduce this? |
Please do try v0.8.1 |
@sergey-tihon This works perfectly now. Thank you very much. Even updates when I change the remote schema. How is it getting the updates? Is it polling the URL? |
No, I just kill the previous implementation of caching, so now, every time when IDE call TP we do call and generate types - https://github.com/fsprojects/SwaggerProvider/pull/85/files |
Alrighty, this makes the user experience a whole lot better. I'll close this issue. Thanks for the quick response! |
Description
Provider does not update when updating schema or when changing schema URL
Repro steps
Please provide the steps required to reproduce the problem
GIF that shows the problem:

Expected behavior
The provided types should update
Actual behavior
The provided types do not update
Known workarounds
Create new type every time you change the URL or schema
Related information
The text was updated successfully, but these errors were encountered: