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

Discovery - library additions to support types provided by the caller #35

Open
Guitarbum722 opened this issue May 28, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Guitarbum722
Copy link
Collaborator

Guitarbum722 commented May 28, 2019

Look into adding functionality to the API to support the caller's own type being deserialized.

This would be similar to a GORM query. For example:

var c customStruct
if err := resource.NeatQuery(&c); err != nil {
    log.Println(err)
}

fmt.Println(c.Name)

Since the SFDC services return JSON, I think this would simply end up wrapping json.Unmarshal.

See what it would take to extend this client sdk and keep it backwards compatible.
Use this issue for conversation, suggestions, etc.

@Guitarbum722 Guitarbum722 added enhancement New feature or request question Further information is requested labels May 28, 2019
@Guitarbum722 Guitarbum722 self-assigned this May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant