Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Add GraphQL API to show aliases created by the current user #200

Closed
magicoder10 opened this issue Oct 6, 2019 · 6 comments · Fixed by #652
Closed

Add GraphQL API to show aliases created by the current user #200

magicoder10 opened this issue Oct 6, 2019 · 6 comments · Fixed by #652
Assignees
Labels
design-doc Write a design doc for a feature enhancement New feature or request Go Issue requires to write code using Go language good first issue Good for newcomers React Issue requires knowledge of React framework
Projects
Milestone

Comments

@magicoder10
Copy link
Member

magicoder10 commented Oct 6, 2019

Currently, users can't see all the short links they created.

Screen Shot 2019-09-30 at 10 37 51 PM

Add GraphQL API to show all the linked created by the user after he, she or they signed in.

@magicoder10 magicoder10 changed the title Add GraphQL api to show aliases created by the current user Add GraphQL API to show aliases created by the current user Oct 6, 2019
@magicoder10 magicoder10 added the enhancement New feature or request label Oct 6, 2019
@magicoder10 magicoder10 added this to To do in Short 1.0 via automation Oct 6, 2019
@obukhov
Copy link

obukhov commented Oct 6, 2019

Can I take this?

@magicoder10
Copy link
Member Author

magicoder10 commented Oct 6, 2019

@obukhov Surely! Please feel free to do any clean up or refactor based on the best practices if you want.

@magicoder10 magicoder10 added this to the alpha milestone Oct 7, 2019
@magicoder10
Copy link
Member Author

@obukhov Please join this Slack channel to discuss bugs, dev environment setup, tooling, and coding best practices.

@princejha95
Copy link

Looks interesting issue to me. Can i take this ?

@dawntomm
Copy link
Contributor

Can i take this ?

@magicoder10 magicoder10 added this to To do in Short 1.0 via automation Jan 28, 2020
@magicoder10 magicoder10 modified the milestones: Alpha, 01/20-01/31 Jan 28, 2020
@magicoder10 magicoder10 modified the milestones: 01/20-01/31, 02/01-02/07 Feb 1, 2020
@magicoder10 magicoder10 modified the milestones: 02/01-02/07, 02/20/2020 Feb 22, 2020
@magicoder10 magicoder10 added the design-doc Write a design doc for a feature label Mar 6, 2020
@alldroll alldroll added Go Issue requires to write code using Go language React Issue requires knowledge of React framework labels Mar 6, 2020
@kapillamba4
Copy link
Member

kapillamba4 commented Apr 5, 2020

type Retriever interface {
	GetURL(alias string, expiringAt *time.Time) (entity.URL, error)
	GetURLsByUser(user entity.User) ([]entity.URL, error)
}

GraphQL Schema:

type AuthQuery {
	URL(alias: String!, expireAfter: Time): URL
	changeLog: ChangeLog!
	listURLs: [URL!]!
}

@byliuyang
@alldroll

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
design-doc Write a design doc for a feature enhancement New feature or request Go Issue requires to write code using Go language good first issue Good for newcomers React Issue requires knowledge of React framework
Projects
Short 1.0
  
Done
6 participants