You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we have the ability of generating examples from real example values (reading from the json files examples in the spec repo), we need to decide how we deal with those operations without a real example.
When there is an examples-dir configured, for those operations that do not have an example file, should we continue to generate examples with mock values?
In the implementation in this PR, we do not. I think it might be misleading because the examples from mock values look exactly the same as the ones from real values - there is no distinguishable flags or anything to mark those from mock values. Therefore I think it is a bad idea of mixing them up.
The text was updated successfully, but these errors were encountered:
Since we have the ability of generating examples from real example values (reading from the json files examples in the spec repo), we need to decide how we deal with those operations without a real example.
When there is an
examples-dir
configured, for those operations that do not have an example file, should we continue to generate examples with mock values?In the implementation in this PR, we do not. I think it might be misleading because the examples from mock values look exactly the same as the ones from real values - there is no distinguishable flags or anything to mark those from mock values. Therefore I think it is a bad idea of mixing them up.
The text was updated successfully, but these errors were encountered: