Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting registration fields from account schema #61

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

typerandom
Copy link
Contributor

@typerandom typerandom commented Aug 28, 2016

Adds support for setting registration fields from the account schema.

How to verify

Add console.log('Setting field!', field); after webConfig.register.form.fields[field.name].required = field.required; in lib/strategy/EnrichIntegrationFromRemoteConfigStrategy.js. Then run this branch with the express-stormpath test application and verify that Setting field (field) is written to the console for the givenName and surname fields.

Important

This depends on features from stormpath/stormpath-sdk-node#534 so that PR needs to be merged before.

@coveralls
Copy link

coveralls commented Aug 28, 2016

Coverage Status

Coverage decreased (-1.8%) to 75.146% when pulling 1667b75 on feature-account-model into 3a9e5b5 on master.

* Fields are null by default
* Warnings if there are configuration mis-matches
* Directory schema requirements override local disabling of requirements
* Stub out tests
@coveralls
Copy link

coveralls commented Sep 27, 2016

Coverage Status

Coverage decreased (-2.8%) to 74.187% when pulling 41c94fe on feature-account-model into 3a9e5b5 on master.

@robertjd
Copy link
Member

@typerandom this needs some work, based on what we decided for the framework-spec. I've made the necessary changes and they work as I expect. But this needs tests before we can merge.

@coveralls
Copy link

coveralls commented Nov 3, 2016

Coverage Status

Coverage increased (+0.4%) to 77.341% when pulling 1cd049d on feature-account-model into 3a9e5b5 on master.

@robertjd robertjd assigned robertjd and unassigned typerandom Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants