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

Remove 'internal sets' to allow users to mock out responses. #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomas-gandy
Copy link

Prior to this commit, it was non-trivial for end users of this Airtable client to mock out responses to e.g. a list webhooks call. Whilst they could mock out a method to return a list of webhooks, they would not be able to specify what properties should be set inside those webhooks due to the 'internal set' modifier.

This commit removes all occurrences of the 'internal' keyword from each Airtable object property so that users of the library can now have full controll over mocking out exact responses that this client responds with.

Prior to this commit, it was non-trivial for end users of this Airtable
client to mock out responses to e.g. a list webhooks call.  Whilst they
could mock out a method to return a list of webhooks, they would not be
able to specify what properties should be set inside those webhooks due
to the 'internal set' modifier.

This commit removes all occurrences of the 'internal' keyword from each
Airtable object property so that users of the library can now have full
controll over mocking out exact responses that this client responds
with.
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.

1 participant