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

Unable to find methods GetGenderHint and GetAgeHint #77

Closed
victorjonsson opened this Issue Feb 20, 2019 · 5 comments

Comments

3 participants
@victorjonsson
Copy link

victorjonsson commented Feb 20, 2019

The methods GetGenderHint and GetAgeHint is not present in the class SwedishPersonalIdentityNumber when having installed SwedishPersonalIdentityNumber v2.0.1

What's up with that? I don't understand what I might be doing wrong? I had to go down to 0.3.2 to get hold of the old age/gender methods.

@viktorvan

This comment has been minimized.

Copy link
Contributor

viktorvan commented Feb 20, 2019

Is this a runtime error @victorjonsson?

@viktorvan

This comment has been minimized.

Copy link
Contributor

viktorvan commented Feb 20, 2019

I just tried to reproduce the issue in C# by creating a new project (netcoreapp2.2) and using the 2.0.1-nuget but it works for me without errors.

Are you sure you are opening ActiveLogin.Identity.Swedish.Extensions, from version 2.0.0 we moved the Hints to the .Extension namespace. That might be why it is working with 0.3.2. In that version it would be enough to just open ActiveLogin.Identity.Swedish.

@PeterOrneholm

This comment has been minimized.

Copy link
Member

PeterOrneholm commented Feb 20, 2019

As @viktorvan stated, in 2.0.0 we did a breaking change and moved the hints into a new namespace. We did doxument this in the release notes:
https://github.com/ActiveLogin/ActiveLogin.Identity/releases/tag/2.0.0

I use the package 2.0.1 myself and I have no problem with the hints when using the new namespace.

@victorjonsson

This comment has been minimized.

Copy link
Author

victorjonsson commented Feb 20, 2019

Okey, my bad! Visual Studio didn't suggest that I should import the extension namespace, for some reason...

Thanks!

@PeterOrneholm

This comment has been minimized.

Copy link
Member

PeterOrneholm commented Feb 20, 2019

Great it works now :) Thanks for using the package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.