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
Tag posts have full tag objects in their tags field
Now, when tags are listed in a tag index, their tags can become links to other tag indices.
Previously, contentModel.tags were created when post.tags was a simple array of string, and then the linking between tags and posts took place. This made posts inside contentModel.tags have tags as strings, rather than the full tag objects.
Now, weirdly, linking actually introduces the tag objects for the first time. Then the tags enhancer collects those objects and creates the array of tags in contentModel, attaching the posts in the tag object
0 commit comments