-
Notifications
You must be signed in to change notification settings - Fork 21
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
Cannot Create Document type Items because File.content is not exported #45
Comments
Using the above code against the the fix in mentioned PR, the |
Anyone there? |
Hey @snarlysodboxer, Apologies for this late reply. Unfortunately, at the moment, Connect does not support creating items with files in them. There is no API endpoint that supports this at the moment. Therefore, it's not possible to create Document type items with Connect. You can only fetch them. However, we have this feature in our backlog, and we will let you know when this feature comes up. Thank you for your patience. |
@edif2008 Thanks for the reply. It's a relief to know you plan to continue to support this client. We just built a 1Password provider using this client and contributed it to the popular project external-secrets.io. (The usage of this client is all in They're going to cut a new release with 1Password support tomorrow, for now it can be seen here. If you search the word "bug" on that page, you'll see this self-same git issue mentioned. (Sorry, I thought it was a bug not just unimplemented.) You might also notice on this issue that there are a number of companies lining up to use 1Password with the external-secrets operator. We have noticed some problems with the Connect Server that force us to restart it semi-frequently. - Should we submit issues about that at https://github.com/1Password/connect? Or somewhere else? |
Hey @snarlysodboxer, I've taken a quick look at the provider you mentioned and it's quite interesting. It's exciting to see that this SDK brings value to other products! 🎉
Definitely open an issue on that repo, along with some logs so that we can better understand what causes you to restart the server. In this way, we can identify the problem faster and, if applicable, come up with the proper fix for it. |
Hope it's ok, I've opened a new issue to track this need since the direction of this particular issue no longer makes sense given the feedback. |
Your environment
SDK Version: 1.2.0
Connect Server Version: 1.5.0
OS: MacOS
Go Version: 1.17.2
What happened?
File.content
is not exported, so when callingClient.CreateItem(item)
on an item withFile
s, the file's contents are left out byjson.Marshal(item)
.Here's how how I'm calling CreateItem
The text was updated successfully, but these errors were encountered: