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
Seems to be a breaking change (to @jeromefitz/notion consider the entire thing is a hack, it's this repo's responsibility to adapt heh) in how Relation/Rollups pass data to one another:
For each Rollup/Relation, get its data by mocking its Notion Type one-by-one on the getTypes request instead of passing all at once. Then return the newly created array by its zero index.
Sure there is a better way, however, this will get us the fix we need short-term:
Seems to be a breaking change (to
@jeromefitz/notion
consider the entire thing is a hack, it's this repo's responsibility to adapt heh) in how Relation/Rollups pass data to one another:ref: https://www.notion.so/releases/2022-05-03
For each Rollup/Relation, get its data by mocking its Notion Type one-by-one on the getTypes request instead of passing all at once. Then return the newly created array by its zero index.
Sure there is a better way, however, this will get us the fix we need short-term:
./packages/notion/src/utils/getTypes/rollup.ts
Before
After
lulz types would probably help. but with Notion's revamp in their SDK that will not come back for a bit.
Will be updated in canary version and verified for
@jeromefitz/notion
after some ⚽The text was updated successfully, but these errors were encountered: