-
Notifications
You must be signed in to change notification settings - Fork 89
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
[Artist] Only include displayable shows. #474
Conversation
I have a feeling this is now going to break/undo the work to make reference shows visible on the Artist page. For instance: https://github.com/artsy/force/blob/master/apps/artist/queries/cv.coffee We do want to be able to return those reference shows for the CV listing. It seems like with the filter you added in https://github.com/artsy/gravity/pull/10566, So is the correct thing to make Metaphysics allow that to be specified by a client (but can default to true), and then we have to update Force/Microgravity to pass in false where it wants to be able to fetch/display non-displayable shows? Basically as-is, I think this will no longer allow those reference shows to show up on the front-end. |
I see what you mean, good catch 👍 |
No it has to be |
This is to support the use of the spread operator where ever we include IDFields. microsoft/vscode#3804
Ah right, |
Ok, so this is embarrassing, I don’t actually believe that I don’t actually think that guarding here is the real proper fix, because a lot of code in |
Oy, now I'm confused. You can have shows that have a The new Show schema allows for that, but there's lots of copy-pasta from Lines 210 to 240 in 6bbb98f
So the issue is that shows w/o partners (and only a There are probably a few other places in the I think the issue we were looking at with an older show with unpublished works coming back was something different however, or was that essentially this crash, where a show w/o a partner was being returned. AFAIK if a partner is deleted their shows will not be deleted and might still return. But with the advent of reference shows and fuller CV's, there'll be a lot more 'partner-less' shows. |
Depends on https://github.com/artsy/gravity/pull/10566
Fixes #473 & artsy/eigen#1873