<p>In <a href="https://github.com/dbsrgits/dbix-class/pull/88#discussion_r43755831">lib/DBIx/Class/ResultSource.pm</a>:</p>
<pre style='color:#555'>&gt; @@ -702,7 +702,7 @@ sub sequence {
&gt;  
&gt;  =over 4
&gt;  
&gt; -=item Arguments: $name?, \@colnames
&gt; +=item Arguments: $name?, \@colnames, \%extra?
&gt;  
</pre>
<p>This is not a useful way to extend the signature - too many unknowns. Make it</p>

<p><code>$name?, \%uc_info | \@colnames</code></p>

<p>With both <em>names optional</em> and <em>\@colnames</em> marked as discouraged in the docs. I.e. people should be doing:</p>

<pre><code>add_unique_constraints(
  foo =&gt; { ... }
  bar =&gt; { ... }
)
</code></pre>

<p>just like they do with <code>add_columns</code> today.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/88/files#r43755831">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAqvHBV7uZSIDd3t1_ZlYGxDySCmkks5pCMGCgaJpZM4Ga5rQ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class/pull/88/files#r43755831"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>