DDC-2741: [GH-820] Added support for field options to FieldBuilder #3486

doctrinebot opened this Issue Oct 15, 2013 · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of apancutt:

Url: #820


Currently, there is no way of cleanly adding options to mapped fields using the FieldBuilder. This makes it impossible to provide the "unsigned" option using the fluid API.

The current solution is to provide options directly to ClassMetadataInfo::mapField() but, for consistency in my project, I'd like to use the FieldBuilder.

This patch adds two new methods allowing arbitrary options to be mapped to a field, and a shorthand method for enabling the "unsigned" option.

Unit test included.


Comment created by @doctrinebot:

A related Github Pull-Request [GH-820] was closed:


Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment