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

Refactor result types names #7106

Merged
merged 2 commits into from
Oct 10, 2022
Merged

Conversation

zanieb
Copy link
Contributor

@zanieb zanieb commented Oct 7, 2022

Requires #7094

Updates the block type names as follows:

  • ResultLiteralLiteralResult
  • ResultReferencePersistedResult
  • ResultBlobPersistedResultBlob

These types are primarily internal.

I believe this will add clarity to the meaning of these result types. This ordering also makes it easier to add new result types in the future, for example, an ErrorResult which contains information about an exception. With the reversed names, ResultError would look like an issue with creating the result.

@zanieb zanieb requested review from bunchesofdonald, billpalombi and jlowin and removed request for cicdw October 7, 2022 19:47
Copy link
Contributor

@billpalombi billpalombi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Names lgtm

Base automatically changed from results/20-hook-it-all-up to feature/results October 10, 2022 16:12
@netlify
Copy link

netlify bot commented Oct 10, 2022

Deploy Preview for prefect-orion ready!

Name Link
🔨 Latest commit 0ee9efb
🔍 Latest deploy log https://app.netlify.com/sites/prefect-orion/deploys/634445e9f8dc5300086261d9
😎 Deploy Preview https://deploy-preview-7106--prefect-orion.netlify.app/concepts/results
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@zanieb zanieb merged commit b63fc3d into feature/results Oct 10, 2022
@zanieb zanieb deleted the results/21-refactor-types branch October 10, 2022 16:29
zanieb added a commit that referenced this pull request Oct 12, 2022
zanieb added a commit that referenced this pull request Oct 12, 2022
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.

3 participants