import { registerFragment } from 'meteor/vulcan:core';

registerFragment(`
  fragment TagFragment on Tag {
    _id
    name
    description {
      html
    }
  }
`);

registerFragment(`
  fragment TagEditFragment on Tag {
    _id
    name
    description {
      ...RevisionEdit
    }
  }
`);

import { registerFragment } from 'meteor/vulcan:core';

registerFragment(`
  fragment TagFragment on Tag {
    _id
    name
    slug
    description {
      html
    }
  }
`);

registerFragment(`
  fragment TagEditFragment on Tag {
    _id
    name
    slug
    description {
      ...RevisionEdit
    }
  }
`);

Fix broken tag links due to missing slug in fragments