# Schema: attributes restriction not supported in |-expressions?

**URL:** <https://discuss.prosemirror.net/t/schema-attributes-restriction-not-supported-in-expressions/894>\
**Category:** Uncategorized\
**Created:** [July 27, 2017, 7:24pm UTC](https://discuss.prosemirror.net/t/schema-attributes-restriction-not-supported-in-expressions/894 "2017-07-27T19:24:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)\
**Post date:** [July 28, 2017, 11:14am UTC](https://discuss.prosemirror.net/t/schema-attributes-restriction-not-supported-in-expressions/894/2 "2017-07-28T11:14:32Z")

</div>

Attribute constraints should go outside of the parentheses, which is bad, but they are [going away entirely](https://discuss.prosemirror.net/t/rfc-deprecating-prosemirror-schema-table-and-attribute-constraints-in-schemas/864/6) so please don’t start relying on them.

---

_[View the full topic](https://discuss.prosemirror.net/t/schema-attributes-restriction-not-supported-in-expressions/894)._
