Coder Social home page Coder Social logo

Feedback about supabase-dart HOT 7 CLOSED

supabase avatar supabase commented on September 23, 2024
Feedback

from supabase-dart.

Comments (7)

dshukertjr avatar dshukertjr commented on September 23, 2024 1

Hi @bernaferrari !

Thank you for your feedback! I will update the README.md with your suggestions.

One thing, the reason why data is dynamic is because it could also be a Map in a case like this:

final res = await supabase
    .from('videos')
    .select()
    .eq('id', videoId)
    .single()
    .execute();

final data = res.data; // This is a Map

from supabase-dart.

bernaferrari avatar bernaferrari commented on September 23, 2024

You could write somewhere this example, like... Ok, so it can either be a Map or List (miss TypeScript so much). I got confused like... dynamic can be anything, will it be an integer someday? Now I know it won't.

My main issue with supabase is that I don't know how to go from one place to the other in the documentation. Some things are there, but everything is disconnected, I need to Google a lot. Thanks.

from supabase-dart.

dshukertjr avatar dshukertjr commented on September 23, 2024

Hey @bernaferrari, thanks for the quick reply.

You could write somewhere this example, like... Ok, so it can either be a Map or List (miss TypeScript so much). I got confused like... dynamic can be anything, will it be an integer someday? Now I know it won't.

Maybe this is something we can mention in the comments within the code.

My main issue with supabase is that I don't know how to go from one place to the other in the documentation. Some things are there, but everything is disconnected, I need to Google a lot. Thanks.

Are you referring to the official documentation, or dart specific documentation here? Generally, the Dart library should be very similar to the JavaScript library, but I'm curious to hear what part you were having trouble finding solutions.

from supabase-dart.

bernaferrari avatar bernaferrari commented on September 23, 2024

Dart only. I'm trying to do the basics on Dart and it is been hard (not impossible, just hard).
I didn't see the JS :(

from supabase-dart.

dshukertjr avatar dshukertjr commented on September 23, 2024

Thanks for the clarification!

Maybe I can include a sentence somewhere within the readme to direct developers arriving here to the JavaScript references. Would you say that would solve the current problem?

from supabase-dart.

bernaferrari avatar bernaferrari commented on September 23, 2024

Saying it came from JS wouldn't help. I think if you can take a screenshot of a method from JS and Dart and show why it is better in JS but same in Dart could be veeery helpful. You would make me visit the JS page then.

from supabase-dart.

dshukertjr avatar dshukertjr commented on September 23, 2024

Having some kind of screenshot might be great for amazing developer experience. Will consider it for future improvements!

For now, I will include a link to the official Supabase documentation kind of like how supabase-js does it. This way, developers should know where to go to look at documentations!

from supabase-dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.