-
Notifications
You must be signed in to change notification settings - Fork 148
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
Resource Identifier metadata #206
Resource Identifier metadata #206
Conversation
%{data: source_data, conn: conn}, | ||
%{identifer_meta: identifier_metadata_func}) | ||
when is_function(identifier_metadata_func) do | ||
identifier_metadata_func.(source_data, destination_data, conn) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, does this work? I have had some trouble getting functions working when passed to the DSL.
@alanpeabody The function thing didn't work, since the DSL macro needs to unquote it. I thought it did for some reason. Good catch :D |
@alanpeabody Hey guys! Any thoughts on this? |
Hey @zachdaniel honestly is looks great, however I am hesitant to merge it until the other meta data is supported and I can see the DSL/Implementation in full. I know it probably isn't something you need but adding it isn't my top priority ATM either, though I would like to get around to it sometime. |
Do you mean metadata for each included item? If so, I don't know if there is a good way to do it, because it would have to override the data that is generated by the destination serializer's metadata function. So having meta in the includes is already supported. |
Hi @alanpeabody Just curious if there's been any movement on this. |
Any news on this one? Would love to get it merged in as well... ! 😃 |
Attempting to address #202