adobe / aio-pkg-utils

monorepo of small unrelated npm published utility packages
Other
2 stars 4 forks source link

Handle inconsistent results from registry api #1

Closed purplecabbage closed 3 years ago

purplecabbage commented 3 years ago

Sometime we get back a singular view operation object, other times we get an array of view Currently when resolver fetches appInfo for an app with an array of view ops, it simply fails and returns an error. It should return the first view in the array.

Expected Behaviour

Actual Behaviour

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

purplecabbage commented 3 years ago

oops, wrong repo