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

fix: don't error when we can't figure out a name for a space #1177

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

travis
Copy link
Member

@travis travis commented Nov 21, 2023

@juliangruber reported an issue with our documented space creation flow when the exported space access delegation doesn't specify a name and the client doesn't specify one manually:

#1175

I think it's reasonable to require a name for spaces at some level, but I think the access-client API is too low-level for this.

travis and others added 2 commits November 21, 2023 14:21
@juliangruber reported an issue with our documented space creation flow when the exported space access delegation doesn't specify a name and the client doesn't specify one manually:

#1175

I think it's reasonable to require a name for spaces at some level, but I think the access-client API is too low-level for this.
@travis
Copy link
Member Author

travis commented Nov 21, 2023

if we do want to update the docs rather than patch as I'm proposing here, we'll need to update https://github.com/web3-storage/w3up/blob/main/packages/w3up-client/src/client.js#L227 to accept a name that can be passed down through

Copy link
Contributor

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given we are trying to move forward with store less possible metadata as we could move that to a different layer with Pail, I would move this way. But curious to know other opinions

@alanshaw
Copy link
Member

Yeah this shouldn't be mandatory.

@alanshaw alanshaw merged commit a31f667 into main Nov 22, 2023
3 checks passed
@alanshaw alanshaw deleted the fix/add-space-bug branch November 22, 2023 11:37
alanshaw pushed a commit that referenced this pull request Nov 22, 2023
🤖 I have created a release *beep* *boop*
---


##
[18.0.3](access-v18.0.2...access-v18.0.3)
(2023-11-22)


### Fixes

* don't error when we can't figure out a name for a space
([#1177](#1177))
([a31f667](a31f667))
* package metadata
([#1161](#1161))
([b8a1cc2](b8a1cc2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <[email protected]>
gobengo pushed a commit that referenced this pull request Nov 28, 2023
@juliangruber reported an issue with our documented space creation flow
when the exported space access delegation doesn't specify a name and the
client doesn't specify one manually:

#1175

I think it's reasonable to require a name for spaces at some level, but
I think the access-client API is too low-level for this.
gobengo pushed a commit that referenced this pull request Nov 28, 2023
🤖 I have created a release *beep* *boop*
---


##
[18.0.3](access-v18.0.2...access-v18.0.3)
(2023-11-22)


### Fixes

* don't error when we can't figure out a name for a space
([#1177](#1177))
([a31f667](a31f667))
* package metadata
([#1161](#1161))
([b8a1cc2](b8a1cc2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Alan Shaw <[email protected]>
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