Code Monkey home page Code Monkey logo

Comments (12)

Ackara avatar Ackara commented on June 13, 2024

6/10 of my unit-test failed, so I held back.

image

If your interested in running the tests. create a file called secrets.json at the root of the project (where the .sln file lives) and provide the following values.

"plaid":
  {
    "secret": "",
    "client_id": "",
    "public_key": ""
  }

I plan on updating the library to the latest version eventually. Hopefully sometime this month or the next. When I released the first version years ago I realized they only supported USA based banks after the fact. Now it seems they have expanded beyond the USA, I am very interested to try it out again.

With that said, maintaining the library have not being a top priority, so I appreciate your help. If you have any question I will gladly answer.

Thank you

from plaid.net.

GeorgeHahn avatar GeorgeHahn commented on June 13, 2024

Thanks for the info! I'm having some trouble getting the tests to build on dotnet core. This package should get text templating working, but it looks like the csproj also needs some work. I'll take another look later this week if I have a good chunk of time.

from plaid.net.

Ackara avatar Ackara commented on June 13, 2024

I converted the test project to netcore and remove that .tt file (is was no longer in use)

from plaid.net.

GeorgeHahn avatar GeorgeHahn commented on June 13, 2024

Thanks! I was able to get all tests to pass with some minor modifications. Let me know if you'd like a PR for these.

It looks like more tests pass if an access token is added to secrets.json. I created an access token that has transactions, identity, and income products. My account has the default API version set to 2019-05-29.

FetchUserIdentityAsync_should_retrieve_the_personal_info_of_an_user: result.Identity is null, so result.Identity.Names.Length.ShouldBeGreaterThan(0); fails. This appears to match the API docs.

FetchIncomeAsync_should_retrieve_the_monthly_earnings_of_an_user: result.Item is null, so result.Item.ShouldNotBeNull(); fails. The docs show item in the /income/get response, but it is omitted from actual API responses (observed in test & in standalone queries).

FetchInstitutionsAsync_should_retrieve_a_list_of_banks_that_matches_a_specified_query: It doesn't look like there are any results for tartan. Changing query to 'citi' gave success.

from plaid.net.

Ackara avatar Ackara commented on June 13, 2024

Sure the mods seem to make sense.

from plaid.net.

GeorgeHahn avatar GeorgeHahn commented on June 13, 2024

Hi! Any remaining blockers on this?

from plaid.net.

Ackara avatar Ackara commented on June 13, 2024

There is still one more test that is failing FetchAccountInfoAsync_should_retrieve_the_routing_numbers_of_an_user_accounts

from plaid.net.

Ackara avatar Ackara commented on June 13, 2024
System.AggregateException: One or more errors occurred. (Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Acklann.Plaid.Auth.GetAccountInfoResponse+AccountIdentifiers' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.

from plaid.net.

GeorgeHahn avatar GeorgeHahn commented on June 13, 2024

That's helpful, thanks. Fix PR is up. Weirdly enough, Json.NET happily tries to serialize Bacs/International accounts into an EftAccounts type for me instead of throwing like it does for you.

from plaid.net.

Ackara avatar Ackara commented on June 13, 2024

The test is not passing cuz I need a key, but since you seem to really want the update push to nuget I'm willing to trust you and push despite the fact. Should I?

from plaid.net.

GeorgeHahn avatar GeorgeHahn commented on June 13, 2024

You should be able to add your current sandbox account token into the intl_access_token to pass the intl test I added. We should probably talk about reducing test flakiness and getting CI running in the future - maybe using the comments from #18 as a starting point?

I'd certainly appreciate a 0.10.0 update!

from plaid.net.

Ackara avatar Ackara commented on June 13, 2024

yes, the test do need reworking and ci would be nice. I pushed to nuget

from plaid.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.