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 Header option to SObjectDescribeFull to allow for If-Modified-Since #46

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ahickey-sfdc
Copy link

According to https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/sobject_describe_with_ifmodified_header.htm you can choose to retrieve object metadata only if it has changed after a certain date (specified by header).
This is incredibly useful for those with data rate limits and need to implement caching.
I think this change would also work if you limited to just the one header type "If-Modified-Since" (and took in a date) but wouldn't be as flexible.

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.

None yet

1 participant