Skip to content

Conversation

@chris-smith-zocdoc
Copy link
Contributor

It wasn't possible to implement RefNameResolver previously because the interface wasn't exported

@rdwr-valentineg
Copy link

Hi @fenollp,
unless I've missed something, you need to adjust the following as well:

func DefaultRefNameResolver(doc *T, ref componentRef) string

func ReferencesComponentInRootDocument(doc *T, ref componentRef) (string, bool)

type RefNameResolver func(*T, componentRef) string

func (doc *T) InternalizeRefs(ctx context.Context, refNameResolver func(*T, componentRef) string)

@fenollp
Copy link
Collaborator

fenollp commented Jul 30, 2024

Superseeded by #998

@fenollp fenollp closed this Jul 30, 2024
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