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

Increase YNAB max lengths to follow API changes #17

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

davidstosik
Copy link
Owner

@davidstosik davidstosik commented Jul 17, 2024

What?

Increase YNAB memo and payee name limits to 500 and 200 characters respectively.

Why?

The API will be updated soon to allow for longer memo and payee names.
See ynab/ynab-sdk-ruby#77 for more details.

How?

Extract "magic numbers" to constants, then update their values.

What else?

This can't be merged until the changes have been made to YNAB's API (server and client?).
This PR may come with a gem update too.

@davidstosik
Copy link
Owner Author

Rebased. (For the record, I kept a backup of the old branch at sto/max-length-old.)

@davidstosik
Copy link
Owner Author

@balvig Would you mind giving this a try?

@balvig
Copy link
Contributor

balvig commented Oct 17, 2024

Works for me! 👏

@davidstosik davidstosik merged commit cc0ffcf into main Oct 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants