Repository navigation
feat(google): per-object images via images.googleObject - #81
Merged
Merged
Conversation
Add a typed way to set Google images on the object (one pass) without touching the class, for per-pass images: - heroImage: object heroImage, overriding the class hero - logo: genericObject logo (generic only; other styles throw E_GOOGLE_RENDER since their objects have no logo) - imageModules: object imageModulesData Each field is three-state: omitted keeps the default, a value sets it, null clears it (falls back to the renderer's default for that object field, else emits null for REST PATCH). Applied after the per-style renderer and before applyRaw.google. Apple output is unchanged. Field names per the v1 REST reference: https://developers.google.com/wallet/reference/rest/v1/genericobject https://developers.google.com/wallet/reference/rest/v1/loyaltyobject https://developers.google.com/wallet/reference/rest/v1/offerobject https://developers.google.com/wallet/reference/rest/v1/eventticketobject https://developers.google.com/wallet/reference/rest/v1/ImageModuleData
alexpate
force-pushed
the
feat/object-images
branch
from
October 6, 2026 14:16
9d792cb to
cc68053
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
images.googleObjectfor setting Google images on a single pass object without touching the class:heroImage(any type),logo(generic only — throws elsewhere),imageModules(rendered asimageModulesData){ url } | null; omitted = default render,null= clear/fall backNeeded for per-pass images in the platform (variant strips, member photos). Minor changeset included.
Merge after #80: both add a README section in the same spot (keep both, field table first).