Repository navigation
External domain datatype - #12730
Open
johnatawnclementawn wants to merge 8 commits into
Open
External domain datatype#12730johnatawnclementawn wants to merge 8 commits into
johnatawnclementawn wants to merge 8 commits into
Conversation
johnatawnclementawn
force-pushed
the
jmc/external-domain-datatype
branch
from
May 19, 2026 16:48
75d5e9b to
1e50174
Compare
chrabyrd
self-requested a review
May 19, 2026 16:50
johnatawnclementawn
force-pushed
the
jmc/external-domain-datatype
branch
from
May 19, 2026 17:01
1e50174 to
64cf053
Compare
johnatawnclementawn
added a commit
that referenced
this pull request
May 20, 2026
johnatawnclementawn
marked this pull request as ready for review
May 20, 2026 14:52
Member
Author
|
Still open to naming changes... other option I considered |
chrabyrd
requested changes
Jun 3, 2026
chrabyrd
left a comment
Contributor
There was a problem hiding this comment.
overall looks great! 2 minor tweaks but this is a nice pattern 👍
johnatawnclementawn
force-pushed
the
jmc/external-domain-datatype
branch
from
November 24, 2026 22:08
b20c7d1 to
e80d357
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.
Types of changes
Description of Change
The underlying use case of the Language datatype is to use values from a database table as tile data without having to ETL those data into controlled lists or concepts (and keep them in sync). This PR proposes the External Domain datatype to provide baseline functionality for that use case.
Rather than a concrete datatype, External Domain is an abstract base class. Subclasses implement at minimum, four methods:
get_options_queryset(),get_option_id(),get_option_display(), andget_lookup_filter()and can override the traditional Arches datatype methods likevalidate,transform_value_for_tile,append_to_document, andappend_search_filters.Issues Solved
Closes #
Checklist
Accessibility Checklist
Developer Guide
Ticket Background
Further comments